791- حمدين بن محمد بن علي بن محمد بن عبد العزيز بن حمدين التغلبي من أهل قرطبة وقاضي الجماعة بها وأصله من باغه بن هيثم عمل غرناطة يكنى أبا جعفر سمع من أبيه وغيره وولي قضاء بلده بعد أبي عبد الله بن الحاج الشهيد في شعبان سنة تسع وعشرين وخمسمائة وكان مقتل ابن الحاج في صلاة يوم الجمعة وفي الركعة الأولي منها وقد قيل في صلاة غيرها وذلك لأربع بقين من صفر من السنة لصق الجدار الشرقي من الجامع ثم صرف ابن حمدين هذا بأبي القاسم بن رشد سنة اثنتين وثلاثين واستعفى ابن رشد فأعفي وأعيد هو ثانية وكان أبو الحسين بن سراج يقول على ما كان بينه وبين بني حمدين من البعد والتنافس لا تزال قرطبة دار عصمة ونعمة ما ملك أزمتها أحد من بني حمدين وصارت إليه الرياسة عند اختلال أمر الملثمين وقيام ابن قسي عليهم بغرب الأندلس وهو حينئذ على قضاة قرطبة ودعي له بالإمارة يوم الخميس الخامس من رمضان سنة تسع وثلاثين وتسمى بأمير المسلمين المنصور بالله ودعي له على منبرها وأكثر منابر البلاد الأندلسية ويقال إن ولايته كانت أربعة عشرة يوما وتعاورته المحن فخرج إلى العدوة الغربية في قصص طويلة وأقام هنالك وقتا ثم قفل واستقر بمالقة إلى أن توفي بها سنة ثمان وأربعين وخمسمائة غفر الله له
791- Hamdin ibn Muhammad ibn ʿAli ibn Muhammad ibn ʿAbd al-ʿAziz ibn Hamdin al-Taghlibi, from the people of Qurtuba and its chief qadi; his origin was from Bagha ibn Haytham in the district of Gharnata; his kunya was Abu Jaʿfar. He heard from his father and others, and held the qadiship of his town after Abu ʿAbd Allah ibn al-Hajj, the martyr, in Shaʿban of the year 529. The killing of Ibn al-Hajj was during the Friday prayer, in its first rakʿa — and it has been said, in another prayer — and that was when four nights of Safar of that year remained, next to the eastern wall of the congregational mosque. Then this Ibn Hamdin was replaced by Abu l-Qasim ibn Rushd in the year 532; Ibn Rushd asked to be relieved and was relieved, and he was restored a second time. Abu l-Husayn ibn Siraj used to say, despite the distance and rivalry between him and the Banu Hamdin: Qurtuba will not cease to be an abode of protection and blessing as long as one of the Banu Hamdin holds its reins. The headship passed to him when the rule of the Veiled Ones fell into disorder and Ibn Qasi rose against them in the west of al-Andalus, he being at that time over the qadis of Qurtuba. He was proclaimed amir on Thursday, the fifth of Ramadan of the year 539, took the name Amir al-Muslimin al-Mansur bi-llah, and was proclaimed on its pulpit and on most of the pulpits of the Andalusian lands. It is said that his rule lasted fourteen days. Trials befell him one after another, and he went over to the western shore — in long stories — and stayed there for a time; then he returned and settled at Malaqa until he died there in the year 548. God forgive him.