Question: When did Muslim armies invade the country where Al-Mu'tamid's successor was a citizen and the country home to Al-Qubeir?

full_context: Document 1: Umayyad Caliphate: Early Muslim armies stayed in encampments away from cities because Umar feared that they might get attracted to wealth and luxury. In the process, they might turn away from the worship of God and start accumulating wealth and establishing dynasties. When Uthman ibn al-Affan became very old, Marwan I, a relative of Muawiyah I, slipped into the vacuum, became his secretary, slowly assumed more control and relaxed some of these restrictions. Marwan I had previously been excluded from positions of responsibility. In 656, Muhammad ibn Abi Bakr, the son of Abu Bakr, the adopted son of Ali ibn Abi Talib, and the great grandfather of Ja'far al-Sadiq, showed some Egyptians the house of Uthman ibn al-Affan. Later the Egyptians ended up killing Uthman ibn al-Affan.
Document 2: Al-Mu'tadid: Al-Mu'tadid was the son of al-Muwaffaq, who was the regent and effective ruler of the Abbasid state during the reign of his brother, Caliph al-Mu'tamid. As a prince, the future al-Mu'tadid served under his father during various military campaigns, most notably in the suppression of the Zanj Rebellion, in which he played a major role. When al-Muwaffaq died in June 891 al-Mu'tadid succeeded him as regent. He quickly sidelined his cousin and heir-apparent al-Mufawwad, and when al-Mu'tamid died in October 892, he succeeded to the throne. Like his father, al-Mu'tadid's power depended on his close relations with the army. These were first forged during the campaigns against the Zanj and were reinforced in later expeditions which the Caliph led in person: al-Mu'tadid would prove to be the most militarily active of all Abbasid caliphs. Through his energy and ability, he succeeded in restoring to the Abbasid state some of the power and provinces it had lost during the turmoil of the previous decades.
Document 3: Al-Qubeir: Al-Qubeir (Arabic: ; also referred to as Mazraat al-Qubeir, Qubair, Qubayr, al-Qubayr and al-Kubeir in various news reports) is a settlement in the Hama Governorate of Syria, near the larger village of Maarzaf. Al-Qubeir is described as a Sunni farming enclave surrounded by Alawite villages in the central province of Hama.
Document 4: Middle Ages: Religious beliefs in the Eastern Empire and Persia were in flux during the late 6th and early 7th centuries. Judaism was an active proselytising faith, and at least one Arab political leader converted to it.[J] Christianity had active missions competing with the Persians' Zoroastrianism in seeking converts, especially among residents of the Arabian Peninsula. All these strands came together with the emergence of Islam in Arabia during the lifetime of Muhammad (d. 632). After his death, Islamic forces conquered much of the Eastern Empire and Persia, starting with Syria in 634–635 and reaching Egypt in 640–641, Persia between 637 and 642, North Africa in the later 7th century, and the Iberian Peninsula in 711. By 714, Islamic forces controlled much of the peninsula in a region they called Al-Andalus.
Document 5: Al-Kamil: Al-Kamil was the son of sultan al-Adil ("Saphadin"), a brother of Saladin. Al-Kamil's father was laying siege to the city of Mardin in 1199 when he was called away urgently to deal with a security threat in Damascus. Al-Adil left al-Kamil to command the forces around Mardin continuing the siege. Taking advantage of the Sultan's absence, the combined forces of Mosul, Sinjar and Jazirat ibn Umar appeared at Mardin when it was on the point of surrender, and drew Al-Kamil into battle. He was badly defeated and retreated to Mayyafariqin. However dissent and weakness among his opponents meant that Al-Kamil was able to secure Ayyubid rule in the Jazira region by taking Harran.
Document 6: Umayyad Caliphate: The Umayyad Caliphate (Arabic: الخلافة الأموية‎, trans. Al-Khilāfat al-ʾumawiyya) was the second of the four major Islamic caliphates established after the death of Muhammad. This caliphate was centered on the Umayyad dynasty (Arabic: الأمويون‎, al-ʾUmawiyyūn, or بنو أمية, Banū ʾUmayya, "Sons of Umayya"), hailing from Mecca. The Umayyad family had first come to power under the third caliph, Uthman ibn Affan (r. 644–656), but the Umayyad regime was founded by Muawiya ibn Abi Sufyan, long-time governor of Syria, after the end of the First Muslim Civil War in 661 CE/41 AH. Syria remained the Umayyads' main power base thereafter, and Damascus was their capital. The Umayyads continued the Muslim conquests, incorporating the Caucasus, Transoxiana, Sindh, the Maghreb and the Iberian Peninsula (Al-Andalus) into the Muslim world. At its greatest extent, the Umayyad Caliphate covered 15 million km2 (5.79 million square miles), making it the largest empire (in terms of area - not in terms of population) the world had yet seen, and the fifth largest ever to exist.
Document 7: Al-Nasir: Al-Nasir was the son of Caliph Al-Mustadi and a Turkish "umm walad" called "Zumurrud" (Emerald). His reign was unusual for the rise of the futuwwa groups in his reign, connected to Baghdad's long-standing ayyarun. These urban social groups had long existed in Baghdad and elsewhere, and they were often involved in urban conflicts, especially sectarian riots. Al-Nasir made them into an instrument of his government, reorganizing them along Sufi lines and ideology.
Document 8: Al-Qubeir massacre: The Al-Qubeir massacre (), also known as the Hama massacre, occurred in the small village of Al-Qubeir near Hama, Syria, on 6 June 2012 during the country's ongoing civil conflict. Al-Qubeir is described as a Sunni farming settlement surrounded by Alawite villages in the central province of Hama. According to preliminary evidence, troops had surrounded the village which was followed by pro-government Shabiha militia entering the village and killing civilians with "barbarity," UN Secretary-General Ban Ki-moon told the UN Security Council.
Document 9: Umayyad Caliphate: After the assassination of Uthman in 656, Ali, a member of the Quraysh tribe and the cousin and son-in-law of Muhammad, was elected as the caliph. He soon met with resistance from several factions, owing to his relative political inexperience. Ali moved his capital from Medina to Kufa. The resulting conflict, which lasted from 656 until 661, is known as the First Fitna ("civil war"). Muawiyah I, the governor of Syria, a relative of Uthman ibn al-Affan and Marwan I, wanted the culprits arrested. Marwan I manipulated everyone and created conflict. Aisha, the wife of Muhammad, and Talhah and Al-Zubayr, two of the companions of Muhammad, went to Basra to tell Ali to arrest the culprits who murdered Uthman. Marwan I and other people who wanted conflict manipulated everyone to fight. The two sides clashed at the Battle of the Camel in 656, where Ali won a decisive victory.
Document 10: Umayyad Caliphate: Marwan was succeeded by his son, Abd al-Malik (685–705), who reconsolidated Umayyad control of the caliphate. The early reign of Abd al-Malik was marked by the revolt of Al-Mukhtar, which was based in Kufa. Al-Mukhtar hoped to elevate Muhammad ibn al-Hanafiyyah, another son of Ali, to the caliphate, although Ibn al-Hanafiyyah himself may have had no connection to the revolt. The troops of al-Mukhtar engaged in battles both with the Umayyads in 686, defeating them at the river Khazir near Mosul, and with Ibn al-Zubayr in 687, at which time the revolt of al-Mukhtar was crushed. In 691, Umayyad troops reconquered Iraq, and in 692 the same army captured Mecca. Ibn al-Zubayr was killed in the attack.
Document 11: Mu'nis al-Fahl: Under al-Mu'tadid he served as commander of the caliph's personal guard and led various expeditions against Bedouins and other restive elements in Iraq, while al-Muqtafi dispatched him in 906 against the Qarmatians. After al-Muqtafi's death, he played a decisive role in the suppression of the palace coup that briefly deposed al-Muqtadir in favour of Abdallah ibn al-Mu'tazz. He was then named treasurer ("khazin") and chief of security ("sahib al-shurta") to the Caliph. He died in 914.
Document 12: Tamana al-Ghab: Tamana al-Ghab (, also spelled Tamaanat al-Ghab) is a village in northern Syria, administratively part of the Hama Governorate, located northwest of Hama. It is situated in the al-Ghab plain, east of the Orontes River. It is abutted by al-Ramlah to the north and Rasif to the south with other nearby localities including center Hurriya to the southeast, al-Huwash to the east, al-Amqiyah al-Tahta to the northeast, al-Ziyarah to the north, Nabl al-Khatib to the west and Shathah to the southwest. According to the Syria Central Bureau of Statistics (CBS), Tamana al-Ghab had a population of 2,696 in the 2004 census. Its inhabitants are predominantly Sunni Muslims.
Document 13: Al-Houz: Al-Houz (, also spelled al-Huz) is a village in central Syria, administratively part of the Homs Governorate, located southwest of Homs. Situated at the southern edge of Lake Qattinah, nearby localities include Aqrabiyah to the southwest, Arjoun and al-Qusayr to the southeast, Kafr Mousa to the east and al-Ghassaniya to the northeast. According to the Central Bureau of Statistics (CBS), al-Houz had a population of 2,239 in the 2004 census. It is an Alawite village.
Document 14: Muslim conquest of the Levant: The Muslim conquest of the Levant (Arabic: اَلْـفَـتْـحُ الْإٍسْـلَامِيُّ لِـلـشَّـامِ ‎, Al - Faṫṫḥul - Islāmiyyuash - Shām) or Arab conquest of the Levant (Arabic: اَلْـفَـتْـحُ الْـعَـرَبِيُّ لِـلـشَّـامِ ‎, Al - Faṫṫḥul - ʿArabiyyu Lish - Shām) occurred in the first half of the 7th century, and refers to the conquest of the region known as the Levant or Shaam (Arabic: شَـام ‎, 'Syria'), later to become the Islamic Province of Bilad al - Sham, as part of the Islamic conquests. Arab Muslim forces had appeared on the southern borders even before the death of prophet Muhammad in 632, resulting in the Battle of Mu'tah in 629, but the real invasion began in 634 under his successors, the Rashidun Caliphs Abu Bakr and Umar ibn Khattab, with Khalid ibn al - Walid as their most important military leader.
Document 15: Ibn Muqla: Abu 'Ali Muhammad Ibn 'Ali ibn Muqla al-Shirazi (885/6 – 20 July 940/1) was a Persian official of the Abbasid Caliphate who rose to high state posts in the early 10th century. His career culminated in his own assumption of the vizierate at Baghdad thrice, in 928–930, 932–933 and 934–936. Unable to successfully challenge the growing power of regional emirs, he lost his position to the first "amir al-umara", Ibn Ra'iq, and died in prison. He was also a noted calligrapher.
ground_truth: in 634
sub_queries: Al-Mu'tamid >> followed by Answer: Al-Mu'tadid
Al-Mu'tadid >> country of citizenship Answer: Iraq
Al-Qubeir >> country Answer: Syria
when did muslim armies invade Syria and #2 Answer: in 634