Abu Hurairah (May Allah be pleased with him) reported that:
The Messenger of Allah (ﷺ) said: "He whom Allah intends good, He makes him to suffer from some affliction".[Al- Bukhari]. (JA)
Arabic/English book reference (JA): Book 1, Hadith 39 (JA)