مَنْ يُرِدِ اللَّهُ بِهِ خَيْرًا يُفَقِّهْهُ فِي الدِّينِ

If Allah intends goodness for a person, He gives him the understanding of the religion

(Sahih Bukhari)