Sunan Ibn Majah

Hadith #1531

It was narrated from Anas that the Prophet (ﷺ) offered the funeral prayer at a grave after the burial