عَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ: ((مَنْ يُرِدِ اللَّهُ بِهِ خَيْرًا يُفَقِّهْهُ فِي الدِّينِ))
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Noble Prophet (peace and blessings be upon him) said: "When Allah intends good for someone, He grants him understanding in the religion."