Mishkat al-Masabih 1706
وَعَنِ ابْنِ عَبَّاسٍ: أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ دَخَلَ قَبْرًا لَيْلًا فَأُسْرِجَ لَهُ بسراج فَأخذ مِنْ قِبَلِ الْقِبْلَةِ وَقَالَ: «رَحِمَكَ اللَّهُ إِنْ كُنْتَ لَأَوَّاهًا تَلَّاءً لِلْقُرْآنِ» . رَوَاهُ التِّرْمِذِيُّ وَقَالَ فِي شرح السّنة: إِسْنَاده ضَعِيف
From Ibn ʿAbbas: The Prophet ﷺ entered a grave at night, and a lamp was lit for him. He took [the deceased] from the side of the qiblah and said: "May Allah have mercy on you; you were one who sighed much [in fear of Allah] and recited the Quran much." Reported by at-Tirmidhi. And he said in Sharh as-Sunnah: "Its chain is weak."