Sayyiduna Abu Hurairah (may Allah be pleased with him) and Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) narrate this statement of the Prophet Muhammad (peace and blessings be upon him): "Whatever trouble, worry, sorrow, pain, grief, or harm befalls a believing servant—even if a thorn pricks him—Allah Almighty, because of that, wipes out some of his sins."
Hadith Referenceصحیح ابن حبان / كتاب الجنائز وما يتعلق بها مقدما أو مؤخرا / 2905
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الصحيحة» (2503): ق.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرطهما