No. They were two women of the same name, Maryam. Maryam, or Miriam, is the name in Semitic languages like Arabic and Hebrew. Mary is the Latin version of the name that is present in the Bible, a name which was not likely used in that area at that time. So this is not a contradiction. Sorry.
According to the Qur'an, was Moses' sister Miriam (c1450 BCE) also Mary the mother of Jesus (c4 BCE)?
The Muslim Perspective
Why am I here? Why do I exist? What is my purpose?
Answers: Muslim, Christian, Hindu
Is a deistic god possible?
Is God's proposition, love me or go to Hell?
Isaiah 7:20 says the Lord is going to be a barber and shave the hair off our legs. Is there any reason for this random stuff?
If the book of Genesis is not to be taken literally, why did god send himself in human form to die in order to save us from a symbolic sin committed by metaphorical characters (Adam and Eve) who never existed?
Muslim Islam Fazlur Rahman Muslim Islam: Misgivings and History Asghar Ali Engineer Muslim Islam: Religion, History, and Civilization Seyyed Hossein Nasr Muslim Islam in Contemporary World Asghar Ali Engineer Muslim Welcome to Islam: A Step-by-Step Guide for New Muslims Mustafa Umar Muslim On Developing Theology of Peace in Islam Asghar Ali Engineer Muslim The Prophet of Non-Violence: Spirit of Peace, Compassion & Universality in Islam Asghar Ali Engineer Muslim The Rights of Women in Islam Asghar Ali Engineer