Hadith 158

حَدَّثَنَا مُحَمَّدُ بْنُ سَلاَمٍ، قَالَ‏:‏ أَخْبَرَنَا مُحَمَّدُ بْنُ فُضَيْلٍ، عَنْ مُغِيرَةَ، عَنْ أُمِّ مُوسَى، عَنْ عَلِيٍّ صَلَوَاتُ اللهِ عَلَيْهِ قَالَ‏:‏ كَانَ آخِرُ كَلاَمِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ:‏ ”الصَّلاَةَ، الصَّلاَةَ، اتَّقُوا اللَّهَ فِيمَا مَلَكَتْ أَيْمَانُكُمْ‏.‏“
It is narrated from Sayyiduna Ali (may Allah be pleased with him), he said: The last words of the Prophet (peace and blessings of Allah be upon him) were: "Be steadfast in prayer, guard the prayer, and fear Allah regarding your slaves."
Hadith Reference الادب المفرد / كتاب / 158
Hadith Grading الألبانی: صحيح
Hadith Takhrij «صحيح : أخرجه أبوداؤد ، الأدب ، باب فى حق المملوك : 5156 و ابن ماجة : 2698 - صحيح الترغيب : 2285»