Maqil bin Yasar reported,

A man came to the Prophet ﷺ and said, "I have found a woman of noble lineage and beauty, but she cannot bear children. Shall I marry her?"He replied, "No."Then the man came to him a second time, and he again forbade him. Then he came to him a third time, and the Prophet ﷺ said, "Marry the loving and fertile, for I will take pride in your numbers before the other nations."

Abu Dawud 2050A

Sahih

حدثنا أحمد بن إبراهيم حدثنا يزيد بن هارون أخبرنا مستلم بن سعيد ابن أخت منصور بن زاذان عن منصور يعني ابن زاذان عن معاوية بن قرة

عن معقل بن يسار قال

جاء رجل إلى النبي ﷺ فقال إني أصبت امرأة ذات حسب وجمال وإنها لا تلد أفأتزوجها قال لا ثم أتاه الثانية فنهاه ثم أتاه الثالثة فقال تزوجوا الودود الولود فإني مكاثر بكم الأمم

أبو داود 2050Aصحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Marriage
Chapter
Prohibition of marrying women who do not bear children
Numbering
Darussalam 2050A
Abu Dawud2050A 2050A