The first person to write a hashiyah (marginal footnotes) on Sahih al-Bukhari in India was the great Hadith scholar Mawlana Ahmad ‘Ali al-Saharanpuri, may Allah Most High have mercy on him. He wrote marginal footnotes on [the first] twenty-five juz (chapters) of Sahih al-Bukhari, which was completed by his student Hujjat al-Islam Mawlana Muhammad Qasim al-Nanautwi. Mawlana Ahmad ‘Ali al-Saharanpuri spent ten years correcting the manuscript of [Sahih] al-Bukhari and writing marginal footnotes on it, which he then published with a magnificent forward written by himself.
Al-Deobandiyyah; Ta’reefuha Wa Khidmaatuha, Page 113, (Al-Faysal Printers)
Note: This hashiyah by Mawlana Ahmad ‘Ali al-Saharanpuri is in the copy of Sahih al-Bukhari published in India and generally used by students completing the Dars-e-Nizami. The Jami’ of Imam Tirmidhi, published in India, also contains the hashiyah of Mawlana Ahmad ‘Ali al-Saharanpuri.