Mu'tamir (may Allah have mercy on him) narrates with his chain that there was a woman (called) Umm Mahzul. Whenever she married a man, it was on condition that he permit her to commit zina, and she would bear his expenses. Some of them sought permission from the Prophet (peace and blessings be upon him) to marry her, so the Messenger of Allah (peace and blessings be upon him) recited this verse.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13860