A poor woman fell ill, and the Messenger of Allah ﷺ was informed of her illness. The Messenger of Allah ﷺ used to visit the poor and ask after them, so he said, "If she dies, let me know about her."She was carried out for burial at night, and the people were reluctant to wake the Messenger of Allah ﷺ. When morning came, the Messenger of Allah ﷺ was told what had happened with her, and he said, "Did I not instruct you to inform me about her?"They replied, "Messenger of Allah, we did not want to bring you out at night and wake you."So the Messenger of Allah ﷺ went out, lined the people up in rows at her grave, and pronounced four takbirs.
و حدثني عن مالك عن ابن شهاب
أن مسكينة مرضت فأخبر رسول الله ﷺ بمرضها وكان رسول الله ﷺ يعود المساكين ويسأل عنهم فقال رسول الله ﷺ إذا ماتت فآذنوني بها فخرج بجنازتها ليلا فكرهوا أن يوقظوا رسول الله ﷺ فلما أصبح رسول الله ﷺ أخبر بالذي كان من شأنها فقال ألم آمركم أن تؤذنوني بها فقالوا يا رسول الله كرهنا أن نخرجك ليلا ونوقظك فخرج رسول الله ﷺ حتى صف بالناس على قبرها وكبر أربع تكبيرات