Career
On his accession in 717, Umar asked his advisors to name the most suitable men from the Arab settlers (jund) of Egypt so that he could choose one of them as the province"s new governor. Ayyub was one of the two men named, and finally appointed to the post.