Sahih al-Bukhari, Book 83, Hadith 58 (Bukhari 6437)

Narrated Al-Musaiyab:

When the death of Abu Talib approached, Allah's Messenger (ﷺ) came to him and said, "Say: La ilaha illallah, a word with which I will be able to defend you before Allah."