The Prophet ﷺ said, "Make some of your prayers in your homes, and do not turn them into graves."
عن النبي ﷺ قال: اجعلوا في بيوتكم من صلاتكم، ولا تتخذوها قبورا.
Bukhari narrated it in the Book of Prayer (432), and Muslim narrated it in the Book of the Prayer of Travelers (777), both from the hadith of Yahya, from Ubaydullah, who said, "Nafi informed me, from Ibn Umar," and he mentioned it.Yahya is Ibn Saeed Qattan, and Ubaydullah is Ibn Umar bin Hafs bin Asim bin Umar bin Khattab, the Madinan.