The Messenger of Allah ﷺ said, "No believer is pricked by a thorn or anything greater than that without Allah erasing one of his sins because of it."
حدثنا عامر بن صالح قال حدثني هشام بن عروة عن أبيه
أن رسول الله ﷺ قال لا يصيب المؤمن شوكة فما فوقها إلا قص الله بها عنه خطيئة