Abdullah bin Umar reported,

It was narrated that when Hafsah bint Umar became widowed after the death of Khunays bin Hudhafah al-Sahmi, who was one of the companions of the Messenger of Allah ﷺ and had died in Medina, Umar bin Khattab said, "I went to Uthman bin Affan and offered Hafsah to him in marriage."Uthman replied, "I will think the matter over."Umar continued, "Several nights passed, then he met me and said, 'It has occurred to me that I will not marry at this time.'"Umar said, "Then I met Abu Bakr al-Siddiq and said to him, 'If you wish, I will marry Hafsah bint Umar to you.' Abu Bakr remained silent and gave me no reply. I felt more upset with him than I had with Uthman. Several nights passed, then the Messenger of Allah ﷺ proposed to her, and I married her to him."Later Abu Bakr met me and said, "Perhaps you were upset with me when you offered Hafsah to me and I gave you no reply?"Umar said, "I answered, 'Yes.'"Abu Bakr said, "Nothing prevented me from responding to your offer except that I knew the Messenger of Allah ﷺ had mentioned her, and I would not disclose the secret of the Messenger of Allah ﷺ. Had the Messenger of Allah ﷺ left her, I would have accepted her."

Bukhari 5122

Sahih

حدثنا عبد العزيز بن عبد الله حدثنا إبراهيم بن سعد عن صالح بن كيسان عن ابن شهاب قال أخبرني سالم بن عبد الله أنه سمع

عبد الله بن عمر رضي الله عنهما

يحدث أن عمر بن الخطاب حين تأيمت حفصة بنت عمر من خنيس بن حذافة السهمي وكان من أصحاب رسول الله ﷺ فتوفي بالمدينة فقال عمر بن الخطاب أتيت عثمان بن عفان فعرضت عليه حفصة فقال سأنظر في أمري فلبثت ليالي ثم لقيني فقال قد بدا لي أن لا أتزوج يومي هذا قال عمر فلقيت أبا بكر الصديق فقلت إن شئت زوجتك حفصة بنت عمر فصمت أبو بكر فلم يرجع إلي شيئا وكنت أوجد عليه مني على عثمان فلبثت ليالي ثم خطبها رسول الله ﷺ فأنكحتها إياه فلقيني أبو بكر فقال لعلك وجدت علي حين عرضت علي حفصة فلم أرجع إليك شيئا قال عمر قلت نعم قال أبو بكر فإنه لم يمنعني أن أرجع إليك فيما عرضت علي إلا أني كنت علمت أن رسول الله ﷺ قد ذكرها فلم أكن لأفشي سر رسول الله ﷺ ولو تركها رسول الله ﷺ قبلتها

البخاري 5122صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Marriage
Chapter
Offering one's daughter or sister to righteous people
Numbering
Darussalam 5122
Bukhari 5122