1) A miracle is defined as an extraordinary act or event contrary to the laws of nature that can only occur through direct intervention from God. Miracles serve to prove the truthfulness and credibility of prophets.
2) Miracles differ from magic, which involves tricks or illusions, and karamahs, which are extraordinary events for righteous believers but not prophets.
3) God granted different miracles to prophets that were relevant and understandable to the people of their time, such as Moses' staff swallowing magicians' tricks and Jesus curing illnesses. The Quran itself is considered the greatest miracle for Muslims.