The Prophet (ﷺ) had said, "Offer some of your prayers (Nawafil) at home, and do not take…

Sahih al-Bukhari Book 8 Hadith 82

Sahih al-Bukhari #432

Prayers (Salat) 8:82

Narrated Ibn `Umar:

The Prophet (ﷺ) had said, "Offer some of your prayers (Nawafil) at home, and do not take your houses as graves."

Chapter: The dislikeness of offering As-Salat (the prayers) in grave-yards

Grade: Sahih