Hadithcore
Mishkat al-Masabih, 577

Zaid b Khalid al-Juhani reported God’s Messenger as saying, “If anyone observes two prostrations without being negligent in them, God will forgive him his previous sins.” Ahmad transmitted it.

وَعَن زيد بن خَالِد الْجُهَنِيِّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ صَلَّى سَجْدَتَيْنِ لَا يَسْهُو فِيهِمَا غَفَرَ اللَّهُ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ» . رَوَاهُ أَحْمَدُ

References1 variant
In-Book Reference
Book 4, Hadith 13