Sunan Abi Dawud, Book 43, Hadith 384 (Abu Dawud 5158)

Narrated Ali ibn AbuTalib:

The last words which the Messenger of Allah (ﷺ) spoke were: Prayer, prayer; fear Allah about those whom your right hands possess.