date of migration to medina