Battle of Khaybar
Safiyya bint Huyayy was a noblewoman, the daughter of Huyayy ibn Akhtab, chief of the Jewish tribe Banu Nadir, who was executed after surrendering at the Battle of the Trench. She had been married first to the poet Sallam ibn Mishkam, who had divorced her, and second to Kenana ibn al-Rabi, a commander. In 628, at the Battle of Khaybar, Banu Nadir was defeated, her husband was executed and she was taken as a prisoner. Muhammad freed her from her captor Dihya and proposed marriage, which Safiyya accepted. According to Martin Lings, Muhammad had given Safiyyah the choice of returning to the defeated Banu Nadir, or becoming Muslim and marrying him, and Safiyyah opted for the latter choice.