From Sahih Muslim (Hadith 6568):
Abu Sa'id and abu Huraira reported that they heard Allah's Messenger (ﷺ) as saying:Never a believer is stricken with discomfort, hardship or illness, grief or even with mental worry that his sins are not expiated for him
Reference: Muslim 6568