Whenever a Muslim is afflicted with a hardship, sickness, sadness, worry, harm, or depression –even a thorn’s prick, Allah expiates his sins because of it.

The Prophet Muhammad ﷺ (Bukhari, Muslim)