The Messenger of Allah ﷺ said, "Had I appointed anyone as successor without consultation, I would have appointed Ibn Umm Abd."
حدثنا علي بن محمد حدثنا وكيع حدثنا سفيان عن أبي إسحق عن الحارث
قال رسول الله ﷺ لو كنت مستخلفا أحدا عن غير مشورة لاستخلفت ابن أم عبد
[Its chain of transmission is daif] Tirmidhi transmitted it, Chapter on the Virtues, section on the virtues of Abdullah bin Masud , hadith no. 3808, from the narration of Abu Ishaq, with this wording, and he said, gharib, we only know it from the narration of Harith from Ali [see hadith no. 95].