Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:10025ʿAbd al-Raḥman b. Mahdī > Ḥammād b. Salamah > Muḥammad b. Ziyād > Abū Hurayrah > Abū al-Qāsim ﷺ

[Machine] All acts of worship are atonement except fasting and fasting is for Me, and I reward it.  

أحمد:١٠٠٢٥حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ عَنْ حَمَّادِ بْنِ سَلَمَةَ عَنْ مُحَمَّدِ بْنِ زِيَادٍ قَالَ سَمِعْتُ أَبَا هُرَيْرَةَ يَقُولُ سَمِعْتُ أَبَا الْقَاسِمِ ﷺ يَقُولُ قَالَ

اللهُ ﷻ كُلُّ الْعَمَلِ كَفَّارَةٌ إِلَّا الصَّوْمَ وَالصَّوْمُ لِي وَأَنَا أَجْزِي بِهِ  


See similar narrations below:

Collected by Ṭabarānī
tabarani:18435al-Walīd b. Ḥammād > Sulaymān b. ʿAbd al-Raḥman > Bishr b. ʿAwn > Bakkār b. Tamīm > Makḥūl > Wāthilah

[Machine] The Messenger of Allah, ﷺ , said: "Fasting is a shield and it is a fortress among the fortresses of the believer. And every action of a person is for himself, except for fasting, for it is for Me and I will reward it."  

الطبراني:١٨٤٣٥حَدَّثَنَا الْوَلِيدُ بْنُ حَمَّادٍ ثنا سُلَيْمَانُ بْنُ عَبْدِ الرَّحْمَنِ ثنا بِشْرُ بْنُ عَوْنٍ ثنا بَكَّارُ بْنُ تَمِيمٍ عَنْ مَكْحُولٍ عَنْ وَاثِلَةَ قَالَ

قَالَ رَسُولُ اللهِ ﷺ الصِّيَامُ جُنَّةٌ وَهُوَ حِصْنٌ مِنْ حُصُونِ الْمُؤْمِنِ وَكُلُّ عَمِلٍ لِصَاحِبِهِ إِلَّا الصِّيَامَ يَقُولُ اللهُ ﷻ الصَّوْمُ لِي وَأَنَا أَجْزِي بِهِ