Sunan Ibn Majah, Book 29, Hadith 3410 (In-Book) ⓘ
It was narrated from Sahl bin Mu’adh bin Anas Al-Juhani, from his father, that the Prophet said: “Whoever eats food and said: Al- hamdu lillahil-ladhi at’amani hadha wa razaqanihi min ghayri hawlin minni wa la quwwatin (Praise is to Allah Who has fed me this and provided it for me without any strength or power on my part), - his previous sins will be forgiven.”
حَدَّثَنَا حَرْمَلَةُ بْنُ يَحْيَى، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ، أَخْبَرَنِي سَعِيدُ بْنُ أَبِي أَيُّوبَ، عَنْ أَبِي مَرْحُومٍ عَبْدِ الرَّحِيمِ، عَنْ سَهْلِ بْنِ مُعَاذِ بْنِ أَنَسٍ الْجُهَنِيِّ، عَنْ أَبِيهِ، عَنِ النَّبِيِّ ـ صلى الله عليه وسلم ـ قَالَ " مَنْ أَكَلَ طَعَامًا فَقَالَ الْحَمْدُ لِلَّهِ الَّذِي أَطْعَمَنِي هَذَا وَرَزَقَنِيهِ مِنْ غَيْرِ حَوْلٍ مِنِّي وَلاَ قُوَّةٍ غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ " .
also referenced under: Hadith 3285 (Reference) & Volume 4, Book 29, Hadith 3285 (DarusSalam)