Abdullah bin Abbas reported,

Shaybani mentioned that Ata Abu al-Hasan al-Suwai, and I believe it was from Ibn Abbas, said regarding this verse, "It is not lawful for you to inherit women by compulsion, nor to prevent them from marrying" [Nisa 4:19], that when a man died, his relatives had more right to his wife than her own guardian. If one of them wished, he could marry her himself, or they could marry her off to whomever they chose, and if they wished, they would not allow her to marry at all. So this verse was revealed concerning that practice.

Abu Dawud 2089

Sahih

حدثنا أحمد بن منيع حدثنا أسباط بن محمد حدثنا الشيباني عن عكرمة

عن ابن عباس قال

الشيباني وذكره عطاء أبو الحسن السوائي ولا أظنه إلا عن ابن عباس في هذه الآية {لا يحل لكم أن ترثوا النساء كرها ولا تعضلوهن} قال كان الرجل إذا مات كان أولياؤه أحق بامرأته من ولي نفسها إن شاء بعضهم زوجها أو زوجوها وإن شاءوا لم يزوجوها فنزلت هذه الآية في ذلك

أبو داود 2089صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Marriage
Chapter
His saying, "It is not lawful for you to inherit women against their will, nor to prevent them from remarrying"
Numbering
Darussalam 2089
Abu Dawud 2089