Abu Salamah (may Allah have mercy on him) narrates from Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The prayer of the neighbour of the mosque is only in the mosque."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4945