Mu'awiyah (May Allah be pleased with him) reported:
The Messenger of Allah said, "When Allah wishes good for someone, He bestows upon him the understanding of Deen."[Al-Bukhari and Muslim]. (IT)
App reference (IT): Book 13, Hadith 1 (IT)
Arabic/English book reference (IT): Book 13, Hadith 1376 (IT)