It is narrated from Hazrat Abu Saeed (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: Whatever worry, hardship, grief, illness, or sorrow, even those thoughts "which trouble him," reach a Muslim, Allah expiates his sins through them.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 11007
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد حسن، م:2573.