Mishkat al-Masabih 623
وَعَنْ عُبَيْدِ اللَّهِ بْنِ عَدِيِّ بْنِ الْخِيَارِ: أَنَّهُ دَخَلَ عَلَى عُثْمَانَ وَهُوَ مَحْصُورٌ فَقَالَ: إِنَّكَ إِمَامُ عَامَّةٍ وَنَزَلَ بِكَ مَا تَرَى وَيُصلي لنا إِمَام فتْنَة وننحرج. فَقَالَ: الصَّلَاة أحسن مَا يعْمل النَّاس فَإِذا أحسن النَّاس فَأحْسن مَعَهم وَإِذا أساؤوا فاجتنب إساءتهم. رَوَاهُ البُخَارِيّ
And from ʿUbaydullah ibn ʿAdi ibn al-Khiyar: He went in to ʿUthman while he was under siege and said: "You are the leader of the people as a whole, and what you see has befallen you. A leader of fitnah leads us in prayer, and we feel uneasy." He said: "The prayer is the best of what people do. So when people do well, do well along with them, and when they do badly, avoid their wrongdoing." Reported by al-Bukhari.