مشكوة المصابيح Mishkat al-Masabih كتاب الجنائز The Book of Funerals
(جُلُوسُ رَسُولِ اللهِ ﷺ عَلَى الْقِبْلَةِ إِذَا لَمْ يُحْفَرْ الْقَبْرُ)

(The Prophet ﷺ sat facing the Qiblah if the grave was not dug)

1 hadith
Hadith 1713
وَعَنِ الْبَرَاءِ بْنِ عَازِبٍ قَالَ: خَرَجْنَا مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي جَنَازَة رجل من الْأَنْصَار فَانْتَهَيْنَا إِلَى الْقَبْر وَلما يُلْحَدْ بَعْدُ فَجَلَسَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مُسْتَقْبِلَ الْقِبْلَةِ وَجَلَسْنَا مَعَهُ. رَوَاهُ أَبُو دَاوُدَ وَالنَّسَائِيُّ وَابْنُ مَاجَهْ وَزَادَ فِي آخِرِهِ: كن على رؤوسنا الطير
Al-Bara’ b. ‘Azib said, “We went out with God’s messenger to the funeral of a man of the Ansar, but when we reached the grave the niche in the side had not yet been made, so the Prophet sat down facing the qibla and we sat down along with him.” Abu Dawud, Nasa’i and Ibn Majah transmitted it, Ibn Majah adding “quietly”. (Literally, as though the birds were over our heads. An explanation of the phrase is that when a bird alights on a camel’s head and begins to pick the ticks off it, the camel stands perfectly still so as not to frighten it away.)
Hadith Reference Mishkat al-Masabih / The Book of Funerals / Hadith: 1713
Hadith Grading الألبانی: صَحِيح  |  زبیر علی زئی: حسن
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «حسن، رواه أبو داود (3212) و النسائي (78/4 ح 2003) و ابن ماجه (1549)»