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." (AR)
English reference (AR): Vol. 3, Book 22, Hadith 2697 (AR)
Arabic reference (AR): Book 22, Hadith 2801 (AR)