During the time of the Prophet ﷺ, we used to rank people in order of merit. We would rank Abu Bakr first, then Umar bin Khattab, then Uthman bin Affan .
كنا نخير بين الناس في زمن النبي ﷺ فنخير أبا بكر، ثم عمر بن الخطاب، ثم عثمان بن عفان رضي الله عنه.
Bukhari narrated it in the Virtues of the Companions (3655), from Abdul-Aziz bin Abdullah, who said, Sulayman narrated to us, from Yahya bin Saeed, from Nafi, from Ibn Umar, who said, and then he related it.