The Jewish community in Khaybar, which is north of Medina (formerly Yathrib), flourished in the 7th century.