Hadith on Graves: O Anas, do not pray towards the graves

Anas ibn Malik reported: Umar ibn Al-Khattab, may Allah be pleased with him, saw me while I was praying near a grave and he raised his voice, saying, “The grave!” I thought he said something else, so I looked toward the sky. Umar came and he said, “Indeed, I said the grave. Do not pray towards it.”

Source: Muṣannaf ‘Abd al-Razzāq 1524

Grade: Sahih (authentic) according to Ibn Hajar

عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ رَآنِي عُمَرُ بْنُ الْخَطَّابِ رضي الله عنه وَأَنَا أُصَلِّي عِنْدَ قَبْرٍ فَجَعَلَ يَقُولُ الْقَبْرُ قَالَ فَحَسِبْتُهُ يَقُولُ الْقَمَرُ قَالَ فَجَعَلْتُ أَرْفَعُ رَأْسِي إِلَى السَّمَاءِ فَأَنْظُرُ فَقَالَ إِنَّمَا أَقُولُ الْقَبْرُ لا تُصَلِّ إِلَيْهِ

1524 مصنف عبد الرزاق كتاب الصلاة الصلاة على القبور

 1/167 المحدث ابن حجر العسقلاني خلاصة حكم المحدث صحيح في المطالب العالية