Narrated Ibn ‘Umar:
The Prophet had said, “Offer some of your prayers (Nawafil) at home, and do not take your houses as graves.”
This ruling is for men. Women pray at homes mostly.
It also implies that men are supposed to pray in the masjid five times a day. But they shouldn’t pray ONLY in masjid. They’ll find balance when they pray some nawafil/sunnah prayers at home (for which congregation isn’t necessary).
The house in which Allah’s slaves do not offer Salah is like a grave, barren. So get up and fertilize your land!