Abdullah bin Ja'far narrates that when the news of Ja'far (may Allah be pleased with him)'s martyrdom came, the Messenger of Allah (peace and blessings be upon him) said: Prepare food for the family of Ja'far, for a news has come to them that has preoccupied them or will preoccupy them. The narrator Sufyan was uncertain.
Hadith Referenceمسند الإمام الشافعي / كتاب الجنائز / 604
Hadith Takhrijاخرجه ابوداود، الجنائز، باب صنعة الطعام لأهل البيت (3122) والترمذى، الجنائز، باب ماجاء في الطعام يصنع لأهل الميت (998) وقال حسن صحيح وابن ماجة، الجنائز، باب ماجاء في الطعام يبعث الى اهل الميت (1610) وصححه الحلكم : 1/372 ۔ ووافقه الذهبي۔