It is narrated from Umm al-Mu'mineen Hazrat Aisha (may Allah be pleased with her) that the Messenger of Allah (peace and blessings be upon him) said: Whenever a Muslim is pricked by a thorn or afflicted by any hardship even less than that, it becomes an expiation for his sins.
Hadith Referenceمسند احمد / مسند النساء / 26104
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد حسن من أجل حمزة