Sahih Muslim, Book 11, Hadith 1 (Muslim 2101)

Abu Sa'id al-Khudri reported Allah's Messenger (ﷺ) as saying:

Exhort to recite" There is no god but Allah" to those of you who are dying.