The Prophet (ﷺ) had said, "Offer some of your prayers (Nawafil) at home, and do not take your houses as graves."
Sahih al-Bukhari Book 8, Hadith 82