Urwah narrates that Sayyiduna Zayd bin Thabit (may Allah be pleased with him) said: "The mosque whose foundation was laid on piety is the mosque of the Messenger of Allah (peace and blessings be upon him)." Urwah said: "The mosque of the Prophet (peace and blessings be upon him) is better than it, but this verse was revealed concerning the Mosque of Quba."
Hadith Referenceالمعجم الكبير للطبراني / باب الزاي / 4811