Modi is the first prime minister to visit the birthplace of Azad.
In a letter to the PM, the class VIII student asked him not to use his school buses for a rally.
Opposition Congress and the ruling Bharatiya Janata Party government in Madhya Pradesh are locked in a battle over construction of a memorial for revolutionary freedom fighter Chandrashekhar Azad at his birth place, Bhabhra in Alirajpur district.
Immediately after Modi delivered his speech, Omar merely tweeted "finally" but, in a subsequent tweet, voiced his disagreement with Modi's view.