What is the difference between 'deen' and 'Mazhab'?

Re: What is the difference between ‘deen’ and ‘Mazhab’?

Mullah ko jo hai Hind main sajdey ki ijazat
Nadan ye samjhta hai kay Islam hai azaad

So for Iqbal, Muslims of United India were not allowed to practice their Deen?