When the death of Abu Talib approached, Messenger of Allah ﷺ came to him and said, "Say: La ilaha illallah, a word with which I will be able to defend you before Allah."
لَمَّا حَضَرَتْ أَبَا طَالِبٍ الْوَفَاةُ جَاءَهُ رَسُولُ اللَّهِ ﷺ فَقَالَ قُلْ لاَ إِلَهَ إِلاَّ اللَّهُ كَلِمَةً أُحَاجُّ لَكَ بِهَا عِنْدَ اللَّهِ