Khan Sahib - a compound of Khan "Leader" and Sahib "Master" - was a formal title of respect and honour, which was conferred mainly on Muslim, and also on Parsi, Irani, and Jewish subjects of the British Indian Empire.
The title was conferred on behalf of the British Indian Government by the Viceroy and Governor-General of India.
[2] The title "Khan Sahib" was originally conferred by the Mughal Empire on Muslim subjects in recognition of public services rendered and was adopted by the British Indian Empire for the same purpose.
Hindu subjects of the British Indian Empire were conferred the title of "Rai Sahib".
Since there were no separate titles for Parsi and Jewish subjects, the British Indian Empire conferred the Muslim title of Khan Sahib to Parsi and Jewish subjects as well.