Sunan Ibn Majah (Ibn Majah 137)

It was narrated that 'Ali said:

"The Messenger of Allah said: 'If I were to appoint anyone as my successor without consulting anyone, I would have appointed Ibn Umm 'Abd.'"