Hadithcore
Riyad as-Salihin, 115

Anas (May Allah be pleased with him) said:

Allah the Rubb of honour and glory sent Revelation to His Messenger (ﷺ) more frequently before his death than at any other time. <b>[Al-Bukhari and Muslim]</b>.

الرابع؛‏:‏ عن أنس رضي الله عنه قال‏:‏ إن الله عز وجل تابع الوحي على رسول الله صلى الله عليه وسلم قبل وفاته، حتى توفي أكثر ما كان الوحي‏"‏‏.‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 115
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) The exponential increase in revelation near the end of the life of the Prophet (may Allah’s peace and blessings be upon him) was an indication of his imminent death.<br> 2) Allah completed His favor upon this nation by keeping the recited revelation, which is the Qur’an and Sunnah, alive even though the revelation stopped following the death of the Messenger of Allah (may Allah’s peace and blessings be upon him). Allah Almighty kept His legislation preserved and alive among people. {It is We Who have sent down the Reminder, and it is We Who will preserve it.} [Surat al-Hijr: 9]