Sunan Ibn Majah · Hadith 2802
The Chapters on Wills - كتاب الوصايا
حدثنا سهل بن أبي سهل، حدثنا محمد بن فضيل، عن مغيرة، عن أم موسى، عن علي بن أبي طالب، قال كان آخر كلام النبي صلى الله عليه وسلم " الصلاة وما ملكت أيمانكم " .
It was narrated that 'Ali bin Abu Talib said: “The last words of the Prophet (ﷺ) were: The prayer; and those whom your right hands prossess.”
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).