Ans. Guru Nanak has strongly condemned the working of miracles. According to him to show (work) a miracle is a curse. The third Master, Guru Amar Das, has called it attachment (to Maaya):

ਰਿਧਿ ਸਿਧਿ ਸਭੁ ਮੋਹੁ ਹੈ
“The pursuit of occult powers is attachment to Maaya”.
When the Sidhas (yogis) asked Guru Nanak to show a miracle, his answer was:
“I do not possess any miracle other than the true Name (ofGod)”.
(Bhai Gurdas, Vaar 1, Pauri 43)
To show a miracle in order to exhibit ones superiority or greatness, to win over or conquer someone is not only prohibited but is considered as an obstruction in the planned work of God.
When Guru Har Gobind’s own son, Baba Atal Rae, revived his dead friend (Mohan), the Guru said, “Who is this competitor of God born in our family?”
According to Guru Hari Rae, those who resort to occult powers in order to win in a spiritual argument, are fighting a boxing contest.
When Guru Tegh Bahadur was asked to accept Islam, upon his refusal he was given a choice between showing a miracle and accepting death (martyrdom). The Guru replied, “Those who stay within their home (religion) are humble while those who forsake their religion are apostate. To show a miracle is atrocity, therefore a true faqir will not do it; and God smiles on him”. He accepted martyrdom but did not show a miracle.
When Guru Gobind Singh shot an arrow from Moti Bagh that reached Red Fort Delhi (a distance of several miles), all Mughals who were playing a game of dice there said, “It must be a miracle”. At that moment the all-knowing Guru shot another arrow to which was attached a message that said, “It is not a miracle but art of archery”.
God is showing miracles everyday. A live human body in motion is a miracle. Bhai Samman said so beautifully, “Is it not a miracle that five antagonistic elements have been put together to form a human body that moves?”.
