He is the brother of Chief Judge Abu al-Hasan 'Ali ibn Ahmad.
He gave witness before his brother in his first tenure, on Saturday, when three [nights] of Dhu al-Qa'da had passed, in the year five hundred and fifty-two, and he accepted his testimony and appointed him to the judgeship of the quarter of al-Karkh, then to the judgeship of Wasit. He went down to it and stayed there as judge until his brother was dismissed from the judgeship of Basra in Jumada al-Akhira of the year five hundred and fifty-five; then Abu Muhammad was dismissed, returned to Baghdad, and kept to his house in al-Karkh, until Abu Talib Rawh ibn Ahmad was appointed chief judge in the month of Rabi' al-Akhir of the year sixty-six, who restored Abu Muhammad al-Damghani to the judgeship of Wasit. He arrived there in the last ten days of Sha'ban of that year and stayed there for a time; then he returned to Baghdad and appointed Abu al-Fadl Hibat Allah ibn 'Ali as his deputy over the judgeship there. Then he went back to it several times, until he left it for the last time in the year seventy-seven; he had a house there. He stayed in Baghdad until the time of his death.
He heard hadith from Isma'il ibn Ahmad ibn 'Umar al-Samarqandi and 'Abd al-Wahhab ibn al-Mubarak al-Anmati, and transmitted a little.
Ibn al-Najjar related from Ibn al-Qutay'i, who said: I asked Abu Muhammad al-Damghani about his birth, and he said: In the year five hundred and twenty-one.
He — I mean Ibn al-Najjar — said: Chief Judge Abu al-Hasan Muhammad ibn Ja'far al-'Abbasi informed us — and I copied it from his handwriting — he said: Abu Muhammad al-Hasan ibn Ahmad ibn 'Ali al-Damghani passed away on Saturday, the eighteenth of the month of Rajab, in the year five hundred and eighty-two, and was buried in his house in al-Karkh, may God Most High have mercy on him.