It is narrated from the Companion who served the Messenger (peace and blessings be upon him) (may Allah be pleased with him): "The Prophet (peace and blessings be upon him) used to perform ablution in the mosque." In the narration of Imam Abu Ya'la, these words are reported: "I have remembered this for you: when the Messenger of Allah (peace and blessings be upon him) had prayed, he would not leave the mosque until the next prayer time came, and he (peace and blessings be upon him) would perform a light ablution inside the mosque itself." Imam Ahmad bin Hanbal narrated in his Musnad from a Companion of the Messenger (may Allah be pleased with him) with these words: "I have preserved this for you: the Messenger of Allah (peace and blessings be upon him) performed ablution in the mosque."
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب المساجد / 1030
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده حسن
Hadith Takhrij«عبد الله بن داود الخريبي: ثقة؛ أبو خلدة خالد بن دينار: صدوق (التقريب)؛ أبو العالية: ثقة؛ خادم النبي ﷺ صحابي مبهم لا يضر» «أخرجه مسند أحمد برقم: 22579، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 2019»