Mosques and places of Prayer - Section 1 Mishkat al-Masabih 714

Arabic hadith text
وَعَنِ ابْنِ عُمَرَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «اجْعَلُوا فِي بُيُوتِكُمْ مِنْ صَلَاتِكُمْ وَلَا تَتَّخِذُوهَا قُبُورًا»
Translation

Ibn ‘Umar reported God’s Messenger as saying, “Perform some of your prayer in your houses, and do not turn them into graves.”* * This is most probably a figurative expression indicating that a house in which prayer is not offered is like a grave, as God is not worshipped there.(Bukhari and Muslim.)