قال النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: مَنْ يُرِدِ اللَّهُ بِهِ خَيْرًا يُفَقِّهْهُ فِي الدِّينِ
It was narrated that the Prophet SAW said: Whoever Allah wishes good for, he bestows upon him the understanding of the deen (religion).
Based upon this noble Hadith the blessed Prophet informs us of the bounty Allah bestows upon the one who has acquired sacred knowledge. This is because no one can truly worship Allah SWT properly without the adequate understanding of His glorious religion.
Allah SWT says in the Holy Quran
يَرْفَعِ اللَّهُ الَّذِينَ آمَنُوا مِنكُمْ وَالَّذِينَ أُوتُوا الْعِلْمَ دَرَجَاتٍ
Allah will elevate those of you who are faithful, and raise those gifted with knowledge in rank.
This noble Ayah informs us the importance of knowledge and how it raises a person in status.
Allah also says in the Quran
قُلْ هَلْ يَسْتَوِي الَّذِينَ يَعْلَمُونَ وَالَّذِينَ لَا يَعْلَمُونَ ۗ إِنَّمَا يَتَذَكَّرُ أُولُو الْأَلْبَابِ
Say, Are those who know equal to those who do not know? Only the people who take heed are those who understand.