Come, I will explain to you what you asked about.As for his fleeing on the day of Uhud, I bear witness that Allah has pardoned him and forgiven him.As for his absence on the day of Badr, the daughter of the Messenger of Allah ﷺ was his wife at the time, and she was ill. The Messenger of Allah ﷺ said to him, "You will have the reward of a man who was present at Badr, and his share of the spoils," and he ordered him to remain behind to care for her.As for his absence from the Pledge of Ridwan, if there had been anyone in the valley of Mecca more honored and protected than Uthman, the Messenger of Allah ﷺ would have sent him in place of Uthman. The Messenger of Allah ﷺ sent Uthman to Mecca, and the Pledge of Ridwan took place after Uthman had gone to Mecca. The Messenger of Allah ﷺ then raised his right hand and said, "This is the hand of Uthman," and he struck it against his other hand and said, "This is on behalf of Uthman."Then he said to him, "Take this answer with you now."
حدثنا صالح بن عبد الله حدثنا أبو عوانة عن عثمان بن عبد الله بن موهب أن رجلا من أهل مصر حج البيت فرأى قوما جلوسا فقال من هؤلاء قالوا قريش قال فمن هذا الشيخ قالوا ابن عمر فأتاه فقال إني سائلك عن شيء فحدثني أنشدك الله بحرمة هذا البيت أتعلم أن عثمان فر يوم أحد قال نعم قال أتعلم أنه تغيب عن بيعة الرضوان فلم يشهدها قال نعم قال أتعلم أنه تغيب يوم بدر فلم يشهد قال نعم قال الله أكبر
تعال أبين لك ما سألت عنه أما فراره يوم أحد فأشهد أن الله قد عفا عنه وغفر له وأما تغيبه يوم بدر فإنه كانت عنده أو تحته ابنة رسول الله ﷺ فقال له رسول الله ﷺ لك أجر رجل شهد بدرا وسهمه وأمره أن يخلف عليها وكانت عليلة وأما تغيبه عن بيعة الرضوان فلو كان أحد أعز ببطن مكة من عثمان لبعثه رسول الله ﷺ مكان عثمان بعث رسول الله ﷺ عثمان إلى مكة وكانت بيعة الرضوان بعد ما ذهب عثمان إلى مكة قال فقال رسول الله ﷺ بيده اليمنى هذه يد عثمان وضرب بها على يده فقال هذه لعثمان قال له اذهب بهذا الآن معك
Bukhari also narrated it in "Merits of the Companions of the Prophet," the chapter on the virtues of Uthman bin Affan Abu Amr the Qurashi , hadith no. 3699, from the hadith of Abu Awana, with the same wording.