Islam commands us to be good to all people: establishing good neighbourliness, reciprocating kindness with kindness, and recognizing the good in all people. Islam is all about justice and compassion. Allah commands us to be steadfast in upholding these virtues at all times. It is permissible, as far as Islamic Shari`ah is concerned, to extend condolences to our friends among Christians and others who have lost a family member or friend or a leader of their faith. We are also allowed to attend their funerals and memorials in order to extend our sympathies to the bereaved.
Sheikh Ahmad Kutty, a senior lecturer and Islamic scholar at the Islamic Institute of Toronto, Ontario, Canada, states: It is perfectly all right to do so; Islam commands us to be good to all people, establish good neighbourliness, reciprocate kindness with kindness, and recognize the good in all people. Islam is all about justice and compassion. Allah commands us to be steadfast in upholding these virtues at all times. We are told, (O you who believe! Be steadfast witnesses for Allah in equity; and let not hatred of any people make you swerve from justice. Deal justly; that is nearer to God-fearing) (Al-Ma’idah 5: 8).
the Qur’an further tells us that there are among the Christians those who are full of love and compassion: (And We placed compassion and mercy in the hearts of those who followed him (Jesus)) (Al-Hadid 57: 27). And we are also told, (And you will find the nearest of them in affection to those who believe (to be) those who say: “We are Christians.” That is because there are among them priests and monks, and because they are not proud) (Al-Ma’idah 5: 82).
Islam teaches us to recognize good and virtue, wherever they are found, and shun and abhor vice and immorality, whoever practices them. Prophetic precedents for reciprocating kindness with kindness and his magnanimity, even with his foes, are too numerous to count. He visited non-Muslims who were sick, he was extremely generous with his food and provisions to all of his neighbours, including Muslims and non-Muslims, he welcomed the Christian delegation in his mosque and served them, he extolled the pact of virtue that the pagans had formed in pre-Islamic times, and said that he would gladly hasten to join any similar ventures in Islam, no matter who takes the initiative. We also know from the traditions that the Prophet (peace and blessings be upon him) stood up to honour the funeral procession of a Jew. Inspired by these and other precedents, his Companions used to attend the funerals of non-Muslims, including those of the People of the Book.
In conclusion, we are certainly allowed to extend condolences to our friends among Christians, and others who have lost a family member or friend or a leader of their faith. We are also allowed to attend their funerals and memorials in order to extend our sympathies to the bereaved.