Mishkat al-Masabih
Mishkat al-Masabih 577
Arabic hadith text
وَعَن زيد بن خَالِد الْجُهَنِيِّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ صَلَّى سَجْدَتَيْنِ لَا يَسْهُو فِيهِمَا غَفَرَ اللَّهُ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ» . رَوَاهُ أَحْمَدُ
Translation
Zayd ibn Khālid al-Juhanī reported that the Messenger of Allah said: ‘Whoever performs two units of prayer without becoming inattentive in them, Allah will forgive his previous sins.’ Aḥmad transmitted it. (Graded ḥasan.)