Anas b. Malik reported that Allah, the Exalted and Glorious, sent revelation to Messenger of Allah ﷺ just before his death in quick succession until he left for his heavenly home, and the day when he died, he received the revelation profusely.
أَنَّ اللَّهَ ﷻ تَابَعَ الْوَحْىَ عَلَى رَسُولِ اللَّهِ ﷺ قَبْلَ وَفَاتِهِ حَتَّى تُوُفِّيَ وَأَكْثَرُ مَا كَانَ الْوَحْىُ يَوْمَ تُوُفِّيَ رَسُولُ اللَّهِ ﷺ