Ahmad ibn Kuya (also ibn Kuia, Ahmad son of Kuya or Kuwya; ) was a vizier of the Khazar Khaganate and the commander of the Arsiyah (al-Larisiya) guard during the 940s.
According to the Arab historian Al-Masudi, who provided the most detailed description of the Muslim community in Khazaria (c. 943), the royal guard consisted of Muslims and had a commander chosen from among their own ranks. This commander held the position of vizier and possessed the right of supreme judicial jurisdiction over all Muslims in the capital, Atil.
It is probable that Ibn Fadlan, writing two decades earlier (c. 922), mentions this same official role. He describes an attendant of the king, designated by the word khaz.
Historian Omeljan Pritsak proposed a hypothesis linking the name Kuya with the Arabic name for KievâÂÂKuyaba. Pritsak saw this as evidence of Khazar participation in the founding of the city. However, this version has not gained acceptance in historiography, as it is not confirmed by factual evidence and is considered internally contradictory.