Qays al-Kharifi (may Allah have mercy on him) narrates: I heard Sayyiduna Ali (may Allah be pleased with him) saying: "The Messenger of Allah (peace and blessings be upon him) was foremost (in virtue and excellence), Sayyiduna Abu Bakr (may Allah be pleased with him) came second, and Sayyiduna Umar (may Allah be pleased with him) came third; then a trial (fitnah) engulfed us, and after that there happened what Allah, Majestic is His Majesty, willed."
Abdullah (may Allah have mercy on him) said: My father (Imam Ahmad, may Allah have mercy on him) said: "By his saying 'then a trial engulfed us', he intended to show humility (regarding himself)."
Qays al-Kharifi (may Allah have mercy on him) narrates: I heard Sayyiduna Ali (may Allah be pleased with him) saying on this pulpit: "The Messenger of Allah (peace and blessings be upon him) went ahead, Sayyiduna Abu Bakr (may Allah be pleased with him) came second, and Sayyiduna Umar (may Allah be pleased with him) came third. Then a trial engulfed us (or he said: a trial befell us), and then there happened what Allah willed."
Ishaq bin Rahwayh (may Allah have mercy on him) narrated it from Abd al-Rahman bin Mahdi (may Allah have mercy on him).