It is narrated from al-Hasan al-Basri (may Allah have mercy on him) that Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) objected to Sayyiduna Ubayy bin Ka'b's (may Allah be pleased with him) recitation of a verse. Sayyiduna Ubayy (may Allah be pleased with him) said: "I heard it from the Messenger of Allah (peace and blessings be upon him), while you, O Umar, were kept busy by trade and buying and selling in the markets of al-Baqi'!" At this Sayyiduna Umar (may Allah be pleased with him) said: "You have spoken the truth. I only wanted to test you people, whether there is among you one who speaks the truth; for there is no good in a ruler in whose presence the truth is not spoken and who does not speak it himself."
This narration is munqati' (its chain is broken).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب العلم / 274