It was authentically reported from
`Abdullah Ibn Ja`far who said:
"When the news of the death of
Ja`far (who was martyred in the battle of Mu'tah) reached the Messenger of Allah (peace be upon him), he said: 'Prepare food for
the family of Ja`far for there came upon them an incident which has engaged them.'
This and other similar Hadiths narrated regarding offering condolences to the bereaved family indicate the permissibility to relieve and comfort the afflicted ones by preparing food for them as they become occupied with the affliction that has befallen them. This Hadith also provides grounds for the permissibility to comfort them through any other lawful means like bringing food or coffee or waiving the debt of the deceased or refusing to receive one's entitled share of inheritance from the deceased's property and other charitable activities which Muslims are encouraged to do. This is based on the Qur'anic Ayah (verse) in which Allah (Exalted be He) says:
O you who have believed! Bow down, and prostrate yourselves, and worship your Lord and do good that you may be successful.
(Part No. 9; Page No. 149) May Allah grant us success. May blessings and peace be upon our Prophet Muhammad, his family and Companions!