The trouble with Iqbal is, it doesn't matter what your beliefs are, you can find something in his work to justify them. So communists, socialists, democrats, fascists, Islamists, or any combination of two or more of them, have quoted his poetry for their benefit.
In the wrong hands, that can be lethal. Zia used it to deadly effect in the 80s. My Urdu teacher in college related a story where the poet Ahmed Nadeem Qasmi, who was a mentor of my teacher and had socialistic leanings, ended up on a committee to select Iqbal's couplets for PTV. All you young whippersnappers won't remember it, but back in the days, between TV programs, they would show Iqbal in his trademark pose, pencil poised on chin, and a couplet would appear, and a booming male voice would recite it. There was probably some dramatic music too.
Anyhow, they rejected all of Qasmi's suggestions. Instead they went for the hackneyed, overtly religious ones from Shikwa, Jawaab-e-Shikwa etc.
So, they rejected:
Aieen-e-nau se darna, tarz-e-kuhan pe arrna
Manzil yehi kathin hai, qaumon ki zindagi mein
Because it was pro-democracy. And they rejected:
Jiss khet se dehqan ko mayassir na ho roti
Uss khet key har khosha-e-gandum ko jala do
Because it was pro-communist, and they were waging a jihad next door against the communists. And they rejected:
Mein naakhush-o-bezaar hun marmar ki silon se
Meray liye mitti ka haram aik aur bana do
Because it was anti-Saudi, what with the cheesy and tasteless extensions they were doing to the holy sites.
Needless to say, Qasmi knew better than to suggest the couplets that were written in praise of Marx, Ataturk and (allegedly) Mirza Ghulam Ahmed.