Meaning
Familiar with idols; one whose heart is attached to false beloveds.
Literally: Sanam (idol) plus ashna (acquainted).
How Iqbal uses it
Iqbal warns that a sanam-ashna heart, still intimate with idols whether of stone or of worldly desire, cannot gain the fruit of namaz, since true prayer demands undivided love of the One.
See it in the verse
Sanam-ashna in Iqbal’s couplets
Main jo sar-ba-sajda hua kabhi to zameen se aane lagi sada
Tera dil to hai sanam-aashna tujhe kya milega namaz mein
Tera dil to hai sanam-aashna tujhe kya milega namaz mein
Whenever I bowed my head in prostration, a voice rose from the earth: your heart is in love with idols — what will you gain from prayer?
Self-Knowledge · Humility
Khuda tujhe kisi toofan se aashna kar de
Ki tere bahr ki maujon mein iztirab nahin
Ki tere bahr ki maujon mein iztirab nahin
May God acquaint you with some storm — for the waves of your sea carry no restlessness in them.
Restlessness · Adversity