حَدَّثَنَا مُحَمَّدُ بْنُ رُمْحٍ، أَنْبَأَنَا اللَّيْثُ بْنُ سَعْدٍ، عَنْ أَبِي الزُّبَيْرِ، عَنْ سُفْيَانَ بْنِ عَبْدِ اللَّهِ، - أَظُنُّهُ - عَنْ عَاصِمِ بْنِ سُفْيَانَ الثَّقَفِيِّ، أَنَّهُمْ غَزَوْا غَزْوَةَ السَّلاَسِلِ فَفَاتَهُمُ الْغَزْوُ فَرَابَطُوا ثُمَّ رَجَعُوا إِلَى مُعَاوِيَةَ وَعِنْدَهُ أَبُو أَيُّوبَ وَعُقْبَةُ بْنُ عَامِرٍ فَقَالَ عَاصِمٌ يَا أَبَا أَيُّوبَ فَاتَنَا الْغَزْوُ الْعَامَ وَقَدْ أُخْبِرْنَا أَنَّهُ مَنْ صَلَّى فِي الْمَسَاجِدِ الأَرْبَعَةِ غُفِرَ لَهُ ذَنْبُهُ ‏.‏ فَقَالَ يَا ابْنَ أَخِي أَدُلُّكَ عَلَى أَيْسَرَ مِنْ ذَلِكَ إِنِّي سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏"‏ مَنْ تَوَضَّأَ كَمَا أُمِرَ وَصَلَّى كَمَا أُمِرَ غُفِرَ لَهُ مَا قَدَّمَ مِنْ عَمَلٍ ‏"‏ ‏.‏ أَكَذَلِكَ يَا عُقْبَةُ قَالَ نَعَمْ ‏.‏

It wasnarrated from ‘Asim bin Sufyan Thaqafi that they went on thecampaign of Salasil, but no battle took place; they only took uptheirpositions. Then they came back to Mu’awiyah, and Abu Ayyuband ‘Uqbahbin ‘Amir were with him. ‘Asim said: “O Abu Ayyub,we have missed outon Jihad this year, and we were told that whoeverprays in the fourmosques will be forgiven his sins.” He said: “Oson of my brother,shall I not tell you of something easier thanthat? I heard theMessenger of Allah (PBUH) say: ‘Whoever performsablution as he hasbeen commanded, and prays as he has beencommanded, will be forgivenhis previous (bad) deeds.’” He said:“(Did he not say it) like that, O‘Uqbah?” He said: “Yes.” Translation Not Available

Book Ref: Sunan Ibn Majah Book 5 Hadith 1396
Web Ref:  Sunan Ibn Majah Vol 1 Book 5 Hadith 1396