„From Hindus and Muslims have I broken free', said Arjan Dev Ji, the fifth Sikh guru, in the 1590s. (...) Yet, it is not as straightforward as separatists might wish. No Sikh Guru was ever a Muslim, ergo the half-sentence: 'Of Muslims have I broken free', does not mean that he abandoned Islam. Therefore, the other half need not be construed as a repudiation of Hinduism either. Rather, it may be read as repudiating the whole 'identity' business including the division of mankind into Hindu and Muslim categories, on the Upanishadic ground that the Self is beyond these superficial trappings (the Self being neti neti,? not this, not that?)-but that is a typically Hindu and decidedly un-Islamic position. To the Quran, group identity (being a member of the Muslim ummah or not) is everything, is laden with far-reaching consequences including an eternity in heaven or in hell. To Hindu society, it is also undeniably important; but to Hindu spirituality, it is not. Likewise, another verse of the same poem, 'I will not pray to idols nor say the Muslim prayer', is more anti-Islamic than anti-Hindu: it rejects a duty binding every single Muslim (prayer) and a practice common among Hindus (idol-worship) but by no means obligatory.“
— Guru Arjan
Elst, K. (2002). Who is a Hindu?: Hindu revivalist views of Animism, Buddhism, Sikhism, and other offshoots of Hinduism. Ch. 8.