محمد بن الوليد بن محمد بن خلف بن سليمان بن أيوب الفهري الطرطوشي أصله منها، يكنى: أبا بكر، ويعرف: بابن أبي وندقة.
Muhammad ibn al-Walid ibn Muhammad ibn Khalaf ibn Sulayman ibn Ayyub al-Fihri al-Turtushi, whose origin was from there; his kunya was Abu Bakr, and he was known as Ibn Abi Wandaqa [?].
صحب القاضي أبا الوليد الباجي بسرقسطة وأخذ عنه مسائل الخلاف وسمع منه وأجاز له. ثم رحل إلى المشرق وحج ودخل بغداد والبصرة فتفقه عند أبي بكر الشاشي، وأبي العباس الجرجاني، وسمع بالبصرة من أبي علي التستري، وسكن الشام مدة ودرس بها.
He kept company with the Qadi Abu l-Walid al-Baji in Saraqusta, took from him the questions of disagreement (masaʾil al-khilaf), heard from him, and he gave him a licence. Then he travelled to the East, made the pilgrimage, entered Baghdad and al-Basra, and studied fiqh with Abu Bakr al-Shashi and Abu l-ʿAbbas al-Jurjani; and he heard in al-Basra from Abu ʿAli al-Tustari. He lived in al-Sham for a time and taught there.
وكان إماما عالما، عاملا زاهدا، ورعا دينا متواضعا، متقشفا متقللا من الدنيا، راضيا منها باليسير. أخبرنا عنه القاضي الإمام أبو بكر محمد بن عبد الله المعافري ووصفه بالعلم والفضل والزهد في الدنيا. والإقبال على ما يعنيه. وقال لي: سمعته يقول: إذا عرض الأمران أمر دنيا وأخرى فبادر بأمر الأخرى يحصل الأمران الدنيا والأخرى. قال القاضي أبو بكر: وكان كثيرا ما ينشدنا محمد بن الوليد هذا:
He was an imam, learned, acting on his knowledge, ascetic, scrupulous, religious, humble, austere, taking little of the world and satisfied with a little of it. The Qadi and imam Abu Bakr Muhammad ibn ʿAbd Allah al-Maʿafiri informed us from him, and described him with knowledge, excellence, renunciation of the world and devotion to what concerned him. And he said to me: I heard him say: When two matters present themselves, a matter of this world and one of the next, hasten to the matter of the next, and both matters will be attained, this world and the next. The Qadi Abu Bakr said: This Muhammad ibn al-Walid often used to recite to us:
إن لله عبادا فطنا ... طلقوا الدنيا وخافوا الفتنا
God has servants who are discerning ... who divorced the world and feared trials;
فكروا فيها فلما علموا ... أنها ليست لحي وطنا
they reflected on it, and when they knew ... that it is no homeland for anyone living,
جعلوها لجة واتخذوا ... صالح الأعمال فيها سفنا
they took it as a deep sea, and took ... righteous deeds as ships upon it.
وتوفي الإمام الزاهد أبو بكر بالإسكندرية في شهر شعبان سنة عشرين وخمسمائة.
The imam and ascetic Abu Bakr died in Alexandria in the month of Shaʿban of the year 520.