Interesting story from that link:
''Thus it was that a combined Muslim Army of Afghans and Baluches marched into India to meet their
common foe in 1765. As always, Nasir Khan was in the forefront; but in this particular engagement, he
was more enthusiastic and reckless than ever, for if he fell on the battlefield, it would mean
Shahadat(martyrdom)-a Divine distinction which every true Muslim must live for.
And so it happened that while Mir Nasir Khan was piercing his way on his horse through the Sikh
ranks in a furious outburst near Lahore, he fell off his steed; and as he fell to the ground, the turban he
was wearing got loose. As a result, his long hair popped out from beneath his head-wear. One of the
Sikh combatants noticing the fall rushed out at him with the sword to secure what could have been his
'prize-kill'. But as fate would have it, another Sikh hastily halted his comrade's blow in the nick of time,
saying that the man(i e Nasir Khan) was a Khalsa(Sikh)!
The Sikh had naturally mistaken the turban-less Nasir Khan for a Sikh! For, his long hair and
unmistakably communal resemblance.
However, by the time the Sikhs became aware of their self-deception, Nasir Khan was once again on
his feet; and the other Baluch Swordsmen, too, charged and drove back the Sikhs, who eventually
suffered a crushing defeat and retreated in haste.
On returning to his camp after the encounter, Mir Nasir Khan immediately sent for a barber and got his
long hair and beard cropped short in strict accordance with requirements of Sharia(Islamic code of
conduct).
For a long time after this, he regretted to have missed the enviable attainment of martyrdom in the
cause of Islam on account his resemblance to a kafir(infidel) just because of his misleading long hair
and flowing beard.''