ENOfficial
It was narrated that `Ali (رضي الله عنه) said: The Messenger of Allah (ﷺ) said: “If I were to appoint anyone of my ummah to a position of authority without consultation, I would have appointed Ibn Umm `Abd (Abdullah bin Mas`ood).`
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا حَسَنُ بْنُ مُوسَى، حَدَّثَنَا زُهَيْرٌ، حَدَّثَنَا مَنْصُورُ بْنُ الْمُعْتَمِرِ، عَنْ أَبِي إِسْحَاقَ، عَنْ الْحَارِثِ، عَنْ عَلِيٍّ، قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَوْ كُنْتُ مُؤَمِّرًا أَحَدًا مِنْ أُمَّتِي عَنْ غَيْرِ مَشُورَةٍ مِنْهُمْ لَأَمَّرْتُ عَلَيْهِمْ ابْنَ أُمِّ عَبْدٍ.
sunnah.com