It was narrated that Anas bin Malik said:
"What the Messenger of Allah (ﷺ) most enjoined when he was dying and breathing his last was: The prayer; and those whom your right hands possess." (ES)
English reference (ES): Vol. 3, Book 22, Hadith 2697 (ES)
Arabic reference (ES): Book 22, Hadith 2801 (ES)