Sunan Ibn Majah, Book 5, Hadith 1459 (In-Book) ⓘ
It was narrated that ‘Ali bin Abu Talib said: “If I heard a Hadith from the Messenger of Allah, Allah benefitted me with it as much as He willed, and if I heard it from anyone else, I would ask him to swear me an oath, then if he swore an oath I would believe him. Abu Bakr told me and Abu Bakr spoke the truth that the Messenger of Allah said: ‘There is no man who commits a sin then he performs ablution and does it well, then he prays two Rak’ah,’ (one of the narrators) Mis’ar said: ‘then performs prayer and seeks the forgiveness of Allah, but Allah will forgive him.’
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَنَصْرُ بْنُ عَلِيٍّ، قَالاَ حَدَّثَنَا وَكِيعٌ، حَدَّثَنَا مِسْعَرٌ، وَسُفْيَانُ، عَنْ عُثْمَانَ بْنِ الْمُغِيرَةِ الثَّقَفِيِّ، عَنْ عَلِيِّ بْنِ رَبِيعَةَ الْوَالِبِيِّ، عَنْ أَسْمَاءَ بْنِ الْحَكَمِ الْفَزَارِيِّ، عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ، قَالَ كُنْتُ إِذَا سَمِعْتُ مِنْ، رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ حَدِيثًا يَنْفَعُنِي اللَّهُ بِمَا شَاءَ مِنْهُ وَإِذَا حَدَّثَنِي عَنْهُ غَيْرُهُ اسْتَحْلَفْتُهُ فَإِذَا حَلَفَ صَدَّقْتُهُ وَإِنَّ أَبَا بَكْرٍ حَدَّثَنِي وَصَدَقَ أَبُو بَكْرٍ قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " مَا مِنْ رَجُلٍ يُذْنِبُ ذَنْبًا فَيَتَوَضَّأُ فَيُحْسِنُ الْوُضُوءَ ثُمَّ يُصَلِّي رَكْعَتَيْنِ - وَقَالَ مِسْعَرٌ ثُمَّ يُصَلِّي - وَيَسْتَغْفِرُ اللَّهَ إِلاَّ غَفَرَ اللَّهُ لَهُ " .
also referenced under: Hadith 1395 (Reference) & Volume 2, Book 5, Hadith 1395 (DarusSalam)