Uthman bin Affan reported,

I heard the Messenger of Allah ﷺ say, "Whoever performs ablution thoroughly for prayer, then walks to the obligatory prayer and prays it with the people, or with the congregation, or in the mosque, Allah will forgive him his sins."

Nasai 857

Sahih

أخبرنا سليمان بن داود عن ابن وهب قال أخبرني عمرو بن الحارث أن الحكيم بن عبد الله القرشي حدثه أن نافع بن جبير وعبد الله بن أبي سلمة حدثاه أن معاذ بن عبد الرحمن حدثهما عن حمران مولى عثمان بن عفان

عن عثمان بن عفان قال

سمعت رسول الله ﷺ يقول من توضأ للصلاة فأسبغ الوضوء ثم مشى إلى الصلاة المكتوبة فصلاها مع الناس أو مع الجماعة أو في المسجد غفر الله له ذنوبه

النسائي 857صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Leadership
Chapter
Limit of joining the congregational prayer
Numbering
Darussalam 857
Nasai 857