Umm Habiba bint Abu Sufyan reported,

She had been married to Ibn Jahsh, who died while she was with him. He was among those who migrated to the land of Abyssinia. The Najashi gave her in marriage to the Messenger of Allah ﷺ while she was still there with them.

Azami 6229

Sahih

عن أم حبيبة

أنها كانت عند ابن جحش، فهلك عنها. وكان فيمن هاجر إلى أرض الحبشة، فزوجها النجاشي رسول ﷺ وهي عندهم.

الأعظمي 6229صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Marriage
Chapter
Marriage and its conditions
Section
Marriage is not valid except with a guardian
Numbering
Jami al-Kamil 6229 (2nd edition)
Azami 6229