A man whom the Messenger of Allah ﷺ used to visit during his illness died. He passed away at night, and they buried him that same night. When morning came, they informed the Messenger of Allah ﷺ.He asked, "What kept you from letting me know?"They replied, "It was night, and it was dark. We did not want to burden you."So he went to the grave and prayed over him.
حدثنا محمد أخبرنا أبو معاوية عن أبي إسحاق الشيباني عن الشعبي
مات إنسان كان رسول الله ﷺ يعوده فمات بالليل فدفنوه ليلا فلما أصبح أخبروه فقال ما منعكم أن تعلموني قالوا كان الليل فكرهنا وكانت ظلمة أن نشق عليك فأتى قبره فصلى عليه