اختلف في كنيته فقيل أبو إسحاق وقيل أبو محمد، وأمه لبونة بنت محمد بن الحسن بن القاسم المعروف بقنون بن إبراهيم بن محمد بن القاسم بن إدريس بن إدريس بن عبد الله بن الحسن بن الحسن بن علي بن أبي طالب، وكان الحسن بن قنون من كبار الملوك الحسنيين وشجعانهم، ومردتهم وطغاتهم المشهورين فتسمى يحيى بالخلافة بقرطبة سنة ثلاث عشرة وأربعمائة كما ذكرنا، ثم هرب عنها إلى مالقة سنة أربع عشرة كما وصفناه، ثم سعى قوم من المفسدين في رد دعوته إلى قرطبة في سنة ست عشرة فتم لهم ذلك، إلا أنه تأخر عن دخولها باختياره، واستخلف عليها عبد الرحمن بن عطاف اليفرني، فبقي الأمر كذلك إلى سنة سبع عشرة، ثم قطعت دعوته عن قرطبة، وبقي يتردد عليها بالعساكر، إلى أن اتفقت على طاعته جامعة البربر، وسلموا إليه الحصون والقلاع والمدن، وعظم أمره، فصار بقرمونة محاصرا لإشبيلية طامعا في أخذها، فخرج يوما وهو سكران إلى خيل ظهرت من إشبيلية بقرب قرمونة، فلقيها، وقد كمنوا له فلم يكن بأسرع من أن قتل، وذلك يوم الأحد لسبع خلون من المحرم سنة سبع وعشرين وأربعمائة، وكان له من الولد الحسن، وإدريس، لأمي ولد.
His kunya is disputed: it is said Abu Ishaq, and it is said Abu Muhammad. His mother was Labuna bint Muhammad ibn al-Hasan ibn al-Qasim, known as Qannun, ibn Ibrahim ibn Muhammad ibn al-Qasim ibn Idris ibn Idris ibn ʿAbd Allah ibn al-Hasan ibn al-Hasan ibn ʿAli ibn Abi Talib. Al-Hasan ibn Qannun was one of the great kings of the Hasanids and of their brave men, and of their notorious rebels and tyrants. Yahya took the title of caliph in Qurtuba in the year 413, as we mentioned; then he fled from it to Malaqa in the year 14, as we described. Then a party of mischief-makers worked to restore his cause in Qurtuba in the year 16, and they achieved it; but he delayed entering it by his own choice, and appointed ʿAbd al-Rahman ibn ʿAttaf al-Yafrani as his deputy over it. Matters remained so until the year 17; then his cause was cut off from Qurtuba, and he kept going back and forth against it with troops, until the whole body of the Berbers agreed on obedience to him and handed over to him the forts, the castles and the cities, and his affair grew great. He was at Qarmuna, besieging Ishbiliya and hoping to take it, when one day, drunk, he went out against horsemen who had appeared from Ishbiliya near Qarmuna. He met them, and they had laid an ambush for him, and before long he was killed. That was on Sunday, seven days having passed of al-Muharram of the year 427. Of children he had al-Hasan and Idris, by two umm walads.