Abdullah bin Abbas reported,

The Prophet ﷺ entered a grave at night, and a lamp was lit for him. He took the deceased from the direction of the qiblah and said, "May Allah have mercy on you. You were given to humble supplication and devoted to reciting the Quran." Then he made four takbirs over him.

Tirmidhi 1057

Daif

حدثنا أبو كريب ومحمد بن عمرو السواق قالا حدثنا يحيى بن اليمان عن المنهال بن خليفة عن الحجاج بن أرطاة عن عطاء

عن ابن عباس

أن النبي ﷺ دخل قبرا ليلا فأسرج له سراج فأخذه من قبل القبلة وقال رحمك الله إن كنت لأواها تلاء للقرآن وكبر عليه أربعا

الترمذي 1057ضعيف
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Funerals
Chapter
Burial at night
Numbering
Darussalam 1057
Tirmidhi 1057