The shaykh, the imam, the learned, the most learned Muhammad ibn Muhammad ibn Ahmad al-Sinjari, known as Qawam al-Din al-Kaki
He took the branches (furu') and the principles (usul) from the imam 'Ala' al-Din 'Abd al-'Aziz ibn Ahmad al-Bukhari, author of al-Kashf, and read al-Hidaya in the town of Tirmidh. 'Abd al-'Aziz composed a commentary on al-Hidaya at the request of Qawam al-Din al-Kaki when he read it, and reached the Book of Marriage, but death carried him off, and this wish was not realised for him.
Then Qawam al-Din came to Cairo and stayed at the Maridini mosque, leading the prayer and teaching in it for the Hanafi community, until he died, may God Most High have mercy on him, in the year seven hundred and forty-nine.
He composed a commentary on al-Hidaya in four huge volumes, which he named Mi'raj al-diraya, and he has Kitab 'Uyun al-madhahib, a fine, comprehensive, noble abridgement in which he gathered the views of the four imams and the views of our companions, may God have mercy on them.
The shaykh and imam Qawam al-Din also read al-Hidaya with the shaykh and imam Husam al-Din al-Sighnaqi. He and 'Ala' al-Din, author of al-Kashf, read with the most learned Fakhr al-Din al-Maymarghi and with Hafiz al-Din Muhammad ibn Muhammad al-Bukhari, and these two with Shams al-A'imma al-Kardari, the pupil of the author of al-Hidaya. So Qawam al-Din al-Kaki took from 'Abd al-'Aziz, from al-Maymarghi, from al-Kardari, from the author of al-Hidaya, Shaykh al-Islam Burhan al-Din 'Ali al-Rushdani al-Farghani al-Marghinani, from al-Sadr al-Shahid Husam al-Din 'Umar ibn 'Abd al-'Aziz ibn 'Umar, from Shams al-A'imma al-Sarakhsi, from Shams al-A'imma al-Halwani, from the judge and imam Abu 'Ali al-Nasafi, from the shaykh and imam Abu Bakr Muhammad ibn al-Fadl, from the imam and master 'Abd Allah al-Sabdhamuni, from Abu 'Abd Allah Abu Hafs al-Saghir, from his father Abu Hafs al-Kabir, from Muhammad, from Abu Hanifa, may God Most High have mercy on them.
The shaykh Akmal al-Din Muhammad ibn Muhammad ibn Mahmud al-Babarti read al-Hidaya with him.
In al-Hidaya: He faces the qibla in the prayer, because of His saying, Most High: ﴿So turn your faces towards it﴾ [al-Baqara: 144]. Then whoever is in Mecca, his obligation is to hit its exact spot, and whoever is absent, his obligation is to hit its direction, and that is the correct view, because obligations are according to capacity.
In Mi'raj al-diraya: The scholars set the qibla in one town, two towns and nearby lands on a single bearing, in that they made the qibla in Bukhara, Samarqand, Nasaf, Kish, Tirmidh, Balkh, Marw and Sarakhs the place where the sun sets when it is at the end of Libra and the beginning of Scorpio, as the indicators laid down for knowing the qibla require, since facing remains and orientation is realised over this much distance and the like; and they did not derive, for each mosque separately, an exact bearing to the Ka'ba, because that is beyond capacity. End of quotation.
What relates to this question has already been given in the notice of 'Ali ibn Yunus the jurist in the third battalion.