Ali reported: The final words of the Messenger of Allah, peace and blessings be upon him, were, “The prayer, the prayer! Fear Allah regarding those under custodianship of your right hands!”
Source: Sunan Abī Dāwūd 5156
Grade: Sahih (authentic) according to Al-Albani
عَنْ عَلِيٍّ عَلَيْهِ السَّلَام قَالَ كَانَ آخِرُ كَلَامِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الصَّلَاةَ الصَّلَاةَ اتَّقُوا اللَّهَ فِيمَا مَلَكَتْ أَيْمَانُكُمْ
5156 سنن أبي داود أبواب النوم باب في حق المملوك
5156 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح أبي داود