Imam Hasan Al-Basri رحمه الله narrated that the Messenger of Allah صلى الله عليه وسلم said:
“He whom death overtakes while he is engaged in acquiring knowledge with a view to reviving Islam with the help of it, there will be one degree between him and the Prophets in Paradise. ”
{Sunan at-Tirmidhi; Sunan ad-Darimi}