Given a reference text about Qamus, when was it attacked and defeated?

Context: Qamus was one of the fortresses of the Jewish poet Al-Rabi ibn Abu al-Huqayq, and his Jewish tribe called Banu Nadir. The fortress was situated near Khaybar in what is now Saudi Arabia. The fortress was attacked by Muslim forces and defeated circa 629/30 CE. It was after this event that Muhammad married Safiyyah bint Huyayy. The Jewish presence in the region has been attested to the late seventh century who pioneered the cultivation in the area.

It has traditionally been identified with the remains of the Husn al-Qamus in the old Khaybar oasis, though there's no direct archaeological evidence for this.

Answer: Qamus was attacked and defeated by Muslim forced near the year 630 CE