Mishkat al-Masabih
Book 30, Hadith 47
وَعَن ابْن عمرٍ قَالَ: كُنَّا فِي زَمَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَا نَعْدِلُ بِأَبِي بَكْرٍ أَحَدًا ثُمَّ عُمَرَ ثُمَّ عُثْمَانَ ثُمَّ نَتْرُكُ أَصْحَابَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَا نُفَاضِلُ بَيْنَهُمْ. رَوَاهُ الْبُخَارِيُّ وَفِي رِوَايَةٍ لِأَبِي دَاوُدَ قَالَ: كُنَّا نَقُولُ وَرَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ حَيٌّ: أَفْضَلُ أُمَّةِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بَعْدَهُ أَبُو بَكْرٍ ثُمَّ عمر ثمَّ عُثْمَان رَضِي الله عَنْهُم
Ibn ʿUmar reported: In the time of the Prophet ﷺ, we did not consider anyone equal to Abu Bakr, then ʿUmar, then ʿUthman. After that, we left the Companions of the Prophet ﷺ without ranking them above one another. Al-Bukhari transmitted it. Abu Dawud’s version says: While the Messenger of Allah ﷺ was alive, we used to say: The best of the Prophet’s community after him are Abu Bakr, then ʿUmar, then ʿUthman, may Allah be pleased with them.