Sahih al-Bukhari, Book 62, Hadith 7 (Bukhari 3499)

Narrated Ibn `Umar:

We used to compare the people as to who was better during the lifetime of Allah's Messenger (ﷺ) . We used to regard Abu Bakr as the best, then `Umar, and then `Uthman .