Allah sent down His Divine Inspiration to His Apostle continuously and abundantly during the period preceding his death till He took him unto Him. That was the period of the greatest part of revelation; and Messenger of Allah ﷺ died after that.
أَنَّ اللَّهَ تَعَالَى تَابَعَ عَلَى رَسُولِهِ ﷺ قَبْلَ وَفَاتِهِ حَتَّى تَوَفَّاهُ أَكْثَرَ مَا كَانَ الْوَحْىُ ثُمَّ تُوُفِّيَ رَسُولُ اللَّهِ ﷺ بَعْدُ