(52) باب كَرَاهِيَةِ الصَّلاَةِ فِي الْمَقَابِرِ
Narrated Ibn `Umar:
The Prophet (ﷺ) had said, "Offer some of your prayers (Nawafil) at home, and do not take your houses as graves."
Reference: Sahih al-Bukhari 432
In-book reference: Book 8, Hadith 82
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 8, Hadith 424