Sayyiduna Jabir (may Allah be pleased with him) says: Before the Prophet (peace and blessings be upon him) came to us, we stayed in Madinah for two years in such a state that we established the prayer and kept the mosques populated.
Al-Tabarani recorded it in al-Mu'jam al-Awsat; its chain contains a narrator, Muhammad bin Abi Layla, about whom there is criticism.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 2032