I asked Abu Salih, "Did you hear Abu Hurayrah mention the merit of praying in the mosque of the Messenger of Allah ﷺ?"He replied, "No, but Abdullah bin Ibrahim bin Qariz informed me that he heard Abu Hurayrah narrating that the Messenger of Allah ﷺ said, 'A prayer in this mosque of mine is better than a thousand prayers,' or, 'is like a thousand prayers in any other mosque, except for the Sacred Mosque.'"
حدثنا محمد بن المثنى وابن أبي عمر جميعا عن الثقفي قال ابن المثنى حدثنا عبد الوهاب قال سمعت
سألت أبا صالح هل سمعت أبا هريرة يذكر فضل الصلاة في مسجد رسول الله ﷺ فقال لا ولكن أخبرني عبد الله بن إبراهيم بن قارظ أنه سمع أبا هريرة يحدث أن رسول الله ﷺ قال صلاة في مسجدي هذا خير من ألف صلاة أو كألف صلاة فيما سواه من المساجد إلا أن يكون المسجد الحرام