The shaykh, the imam, the ascetic Abu 'Ali Muhammad ibn al-Walid al-Samarqandi.
In Rawdat al-Qudat of Abu al-Qasim 'Ali ibn Muhammad al-Simnani: One of the people of learning in our age — namely our shaykh Abu 'Ali Muhammad ibn al-Walid — said: Requiring knowledge of the principles and the branches and qualification for ijtihad would lead to no imam's imamate being valid in this age. Rather, he must have discernment, intelligence and judgment, and strengthen every party in the principles and the branches, and they undertake that on his behalf as he would undertake it for himself. Were we to burden him with knowledge of that, given the narrowness of time and the multitude of occupations, it would lead to no one's imamate being valid in this age; because knowledge is vast, the questions are difficult, and all the sciences together hardly ever come together in (a single person) except rarely and exceptionally.
In Sharh al-Manzuma al-Wahbaniyya of the shaykh, the most learned Muhammad Ibn al-Shihna: The shaykh, the imam Abu al-Qasim was asked about a woman who heard from her husband that he had divorced her three times, and she is unable to (keep him from) herself: may she kill him at the time when he wants to approach her? He said: She may kill him. Such was the fatwa of Shaykh al-Islam 'Ata' ibn Hamza and of the imam Abu Shuja'.
The judge al-Isbijabi used to say: She may not kill him; and in al-Multaqat: and the fatwa is on that. In the fatwas of the shaykh, the imam Muhammad ibn al-Walid al-Samarqandi, in Manaqib Abi Hanifa, may God have mercy on him: from 'Abd Allah ibn al-Mubarak, from Abu Hanifa: that she may kill him. In al-Muhit: But she should ransom herself with her property and flee from him; and if she cannot, she kills him whenever she knows that he is approaching her; but she should kill him with a drug, and she may not kill herself.
Muhammad ibn al-Walid was a contemporary of Abu 'Abd Allah al-Damaghani.
Abu 'Abd Allah died in the year four hundred and ninety-eight.
He has al-Fatawa and al-Jami' al-Asghar.
He was an excellent jurist, to whom recourse was had in many cases and new incidents. The shaykh, the imam Iftikhar al-Milla Tahir ibn Ahmad ibn 'Abd al-Rashid mentioned, in the second section of the Book of Oaths in Khulasat al-Fatawa, quoting al-Mabsut: Oaths are three: an oath that is expiated, an oath that is not expiated, and an oath for which we hope God will not take its maker to account.
As for the one that is expiated, it is the oath concerning a future act; when he breaks it, expiation is due.
As for the one that is not expiated, it is swearing to the affirmation or negation of something in the past, deliberately lying; expiation is not due, only repentance is due.
As for the one for which we hope God will not take its maker to account, it is that he swears about a matter in the past or the present thinking he is in the right, such as his saying: By God, this bird is a crow, and it turns out to be a pigeon.
In the fatwas of Muhammad ibn al-Walid: If he said: If this is not so-and-so, then I owe a pilgrimage, and it was not [he], while he had no doubt that it was so-and-so, that is binding on him; and one who swears an inadvertent oath is not held to account for it except in divorce, manumission and vows.
[In it, in the second section, and in Fatawa al-Nasafi: If he said in Persian: “sawgand mi-khwuram ki an kar na-kunam” [I swear that I will not do that thing] or “bi-kunam” [that I will do it], this is the rendering of his saying: I swear. Likewise his saying: “sawgand khwardami” or “khwardam” [I swore]. If he said: “khwuram” [I shall swear], it is not an oath.
In Fatawa Muhammad ibn al-Walid: “Sawgand bi-Khuda” [an oath by God] is an oath. If he said: “khwarda am” [I have sworn], this is a report: if he was truthful, he breaks his oath if he does it; and if he was lying, nothing is owed by him.
In al-Fatawa al-Zahiriyya: Shaykh al-Islam 'Ata' ibn Hamza was asked about one who said: “bar man sawgand ki in kar na-kunam” [upon me is an oath that I will not do this thing]. He said: This is an oath. It was said to him: And if he said: “sawgand bi-khwuram ki in kar na-kunam” [I shall swear that I will not do this thing]? He said: This is a promise and not an undertaking, because it is purely future. It was said to him: And if he said: “sawgand khwurami”, or said: “sawgand mi-khwuram ki in kar na-kunam” [I am swearing that I will not do this thing]? He said: This is an oath, because it is for the present. It was said to him: And if he said: “sawgand khwardam ki in kar na-kunam” [I swore that I will not do this thing]? He said: This is an oath, and it is a creating and a confirming [of the oath]. If he said: “sawgand khwarda am” [I have sworn], it is a report.]