Abū Ghālib Tammām ibn ʿAlqama al-Thaqafī (Arabic: أبو غالب تمام بن علقمة الثقفي), also transliterated Ibn ʿAlḳama al-Thaḳafī (720×728 – 811), was an Arab military leader in al-Andalus during the establishment of the ʿUmayyad Emirate of Córdoba.
[2] He arrived in al-Andalus in 741 in the ṭalīʿa (vanguard) of the Syrian army of Balj ibn Bishr.
[1] His son Ghālib succeeded him at Toledo, but was executed by ʿAbd al-Raḥmān's successor, Hishām I, in 788.
[1] Ibn ʿAlqama is the most probable source for the account of the period 741–788 in the Akhbār majmūʿa, which is the earliest Arabic history of al-Andalus.
He must have left behind writings, since he is quoted as an eyewitness source in Ibn ʿIdhārī's al-Bayān al-mughrib and by Aḥmad al-Rāzī.