Sunan Ibn Majah · Hadith 757
The Book On The Mosques And The Congregations - كتاب المساجد والجماعات
حدثنا هشام بن عمار، حدثنا عبد الرحمن بن سليمان بن أبي الجون، حدثنا محمد بن صالح المدني، حدثنا مسلم بن أبي مريم، عن أبي سعيد الخدري، قال قال رسول الله صلى الله عليه وسلم " من أخرج أذى من المسجد بنى الله له بيتا في الجنة " .
It was narrated that Abu Sa'eed Al-Khudri said: "The Messenger of Allah said: 'Whoever removes something harmful from the mosque, Allah will build for him a house in Paradise.'"
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).