I heard Mu'awiya b. Abu Sufyan saying in an address that he had heard the Messenger of Allah ﷺ as saying: He to whom Allah intends to do good, He gives him insight into religion. And I am only the distributor while Allah is the Bestower.
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ مَنْ يُرِدِ اللَّهُ بِهِ خَيْرًا يُفَقِّهْهُ فِي الدِّينِ وَإِنَّمَا أَنَا قَاسِمٌ وَيُعْطِي اللَّهُ