Omani Azd used to travel to Basra for trade, which was a centre of Islam during the Umayyad empire. Omani Azd were granted a section of Basra, where they could settle and attend their needs. Many of the Omani Azd who settled in Basra became wealthy merchants and under their leader Muhallab bin Abi Sufrah started to expand their influence of power eastwards towards Khorasan. Ibadhi Islam originated in Basra by its founder Abdullah ibn Ibada around the year 650 CE, which the Omani Azd in Iraq followed. Later, Al-hajjaj, the governor of Iraq, came into conflict with the Ibadhis, which forced them out to Oman. Among those who returned to Oman was the scholar Jaber bin Zaid. His return and the return of many other scholars greatly enhanced the Ibadhi movement in Oman. Alhajjaj also made an attempt to subjugate Oman, which was ruled by Suleiman and Said, the sons of Abbad bin Julanda. Alhajjaj dispatched Mujjaah bin Shiwah who was confronted by Said bin Abbad. The confrontation devastated Said's army. Thus, Said and his forces resorted to the Jebel Akhdar. Mujjaah and his forces went after Said and his forces and succeeded in besieging them from a position in "Wade Mastall". Mujjaah later moved towards the coast where he confronted Suleiman bin Abbad. The battle was won by Suleiman's forces. Alhajjaj, however, sent another force under Abdulrahman bin Suleiman and eventually won the war and took over the governance of Oman.