Hadith 585
حَدَّثَنَا مُحَمَّدُ بْنُ فُضَيْلٍ، حَدَّثَنَا الْمُغِيرَةُ، عَنْ أُمِّ مُوسَى، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَالَ كَانَ آخِرُ كَلَامِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الصَّلَاةَ الصَّلَاةَ اتَّقُوا اللَّهَ فِيمَا مَلَكَتْ أَيْمَانُكُمْ.
It was narrated from `Ali (رضي الله عنه) that he said:
`The last words of the Messenger of Allah (ﷺ) were: “Prayer, prayer! And fear Allah with regard to what your right hands possess, [i.e.female slaves].`
Reference : Musnad Ahmad 585
In-book reference : Book 5, Hadith 23