صحيح مسلم
From Sahih Muslim (Hadith 6563):
A'isha reported Allah's Messenger (ﷺ) as saying:A believer does not undergo (the trouble) of running a thorn or more than that when Allah effaces his sins
Reference: Muslim 6563