Islam Academy

Mishkat al-Masabih

Book 5Hadith Number 1537
ENOfficial

He and Abu Sa'id reported the Prophet (ﷺ) as saying, “No Muslim is afflicted by difficulty, continuous pain, anxiety, grief, injury, or care, or even by a thorn with which he is pierced, without God thereby making an atonement for his sins.” (Bukhari and Muslim.)

Source: sunnah.com

Other translations

Arabic

وَعَن أبي هُرَيْرَة وَأبي سَعِيدٍ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَا يُصِيبُ الْمُسْلِمَ مِنْ نَصَبٍ وَلَا وَصَبٍ وَلَا هَمٍّ وَلَا حُزْنٍ وَلَا أَذًى وَلَا غَمٍّ حَتَّى الشَّوْكَةُ يُشَاكُهَا إِلَّا كَفَّرَ اللَّهُ بهَا من خطاياه»

sunnah.com