Al-Hakam ibn Amr al-Ghifari (Arabic: الحكم بن عمرو الغفاري) (d. 670/71), was a companion of the Islamic prophet Muhammad and the Umayyad governor of Khurasan and commander of Arab expeditions into Transoxiana (Central Asia) from 665 until his death in Merv.
[3][4] He settled in Basra, the Arab garrison town and springboard of the Muslim conquests of the Sasanian Empire established in 636.
[5][6][full citation needed] There was a sparse presence of Ghifar tribesmen in Basra.
[2] According to al-Tabari and al-Baladhuri, in 665 Ziyad ibn Abihi, the practical viceroy of Iraq and the eastern Umayyad Caliphate, centralized the vast region of Khurasan (east of Iran and west of the Oxus) into a single provincial administration based in Merv under the governorship of al-Hakam.
His appointed successor Anas ibn Abi Unas, who was promptly dismissed by Ziyad, led his funeral prayers.