Five prayers you say five times a day,
With five different names;
But if Truth be your first prayer,
The second to honestly earn your livelihood,
The third to give in God’s name,
Purity of mind be thy fourth prayer,
And praise and prayer to God your fifth;
And if you practise these five virtues,
And good deeds are your kalima (article of faith)
Then you can call yourself a true Muslim.
Baba Nanak further elaborated on the true Muslim thus:
He who is firm in his faith,
Has the right to be called a Muslim.
His acts must be in accord with his faith in the Prophet,
He must clean his heart of his pride and greed,
Not being troubled by the two imposters life and death,
Resigned to the will of God;
Knowing Him as the Doer,
Free [ing] himself from the self,
Be [ing] compassionate towards all beings, O Nanak,
Such a one may call himself a Muslim.