Sayyiduna Zayd bin Thabit (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "A man's prayer in his own home is better than the prayer he offers in my mosque, except for the obligatory prayer."
Hadith Referenceالمعجم الكبير للطبراني / باب الزاي / 4874