Asim bin Sufyan reported,

They set out on the expedition of Salasil, but missed the battle, so they remained stationed at the frontier and then returned to Muawiya. Abu Ayub and Uqba bin Amir were with him.Asim said, "Abu Ayub, we missed the campaign this year, and we have been told that whoever prays in the four mosques will have his sins forgiven."Abu Ayub replied, "My nephew, shall I direct you to something easier than that? I heard the Messenger of Allah ﷺ say, 'Whoever performs ablution as he was commanded and prays as he was commanded will be forgiven his past deeds.' Is that not so, Uqba?"Uqba answered, "Yes."

Ibn Majah 1396

Hasan

حدثنا محمد بن رمح أنبأنا الليث بن سعد عن أبي الزبير عن سفيان بن عبد الله أظنه

عن عاصم بن سفيان الثقفي

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

ابن ماجه 1396حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Prayer is an expiation
Numbering
Darussalam 1396
Ibn Majah 1396