Sahih Muslim, Book 6, Hadith 249 (Muslim 1804)

Ibn 'Umar reported Allah's Apostle (ﷺ) as saying:

Pray in your houses, and do not make them graves.