The leader of the Islamic State militant group that controls tracts of Syria and Iraqhas accepted a pledge of allegiance from Nigerian Islamists Boko Haram, his spokesman said, calling on supporters to fight in Africa.