Al-Sam'ani said: He used to be called 'the little Abu Hanifa'. He studied law under his teacher Abu Bakr, known as al-A'mash, the pupil of Abu Bakr al-Iskaf.
Al-Iskaf was the pupil of Muhammad ibn Salama, Ibn Salama the pupil of Abu Sulayman al-Juzjani, al-Juzjani the pupil of Muhammad ibn al-Hasan, and Muhammad ibn al-Hasan the pupil of Abu Hanifa — may God, glorified be He, have mercy on them all.
He related hadith in Balkh and Transoxiana, gave fatwas on difficult questions and explained the obscure ones.
He died in the year three hundred and sixty-two.
Yusuf ibn Sayyar transmitted from him the book al-Mukhtalif of Abu al-Qasim al-Saffar.
It is related that al-Hinduwani travelled from Balkh to Bukhara and found there al-Maydani and Muhammad ibn al-Fadl al-Bukhari. They gathered in the house of Muhammad ibn al-Fadl on a Friday, and it was a rainy day. Abu Ja'far said: I am a traveller, and there is no Friday prayer due from the traveller. Al-Maydani said: I am blind, and there is no Friday prayer due from the blind. Muhammad ibn al-Fadl said: 'When the sandals are wet, then prayer is in the dwellings') — and this covers everyone. Their aim was not to part company.