Sunan Ibn Majah, Book 6, Hadith 116 (Ibn Majah 1548)

It was narrated that Bara’ bin ‘Azib said:

“We went out with the Messenger of Allah (ﷺ) for a funeral, and he sat facing the Qiblah (prayer direction).”