Question: Who lived longer, Al-Ghazali or Averroes (Ibn Rushd)?

full_context: Document 1: Ibn Ruschd-Goethe mosque: The Ibn Rushd-Goethe mosque is a mosque known for being the first self-described liberal mosque in Berlin. It was inaugurated in June 2017, and is named after medieval Andalusian-Arabic polymath Ibn Rushd and German writer and statesman Johann Wolfgang von Goethe. The mosque was founded by Seyran Ateş, a German lawyer and feminist of Kurdish-Turkish descent. The mosque is characterised as liberal, such as because it bans face-covering; It also allows mixed-gender people to pray together, and accepts LGBT worshippers.
Document 2: Averroes: Ibn Rushd (Arabic: ‎ ‎ ; 14 April 1126 – 10 December 1198), full name (Arabic: أبو الوليد محمد ابن احمد ابن رشد‎ , "ʾAbū l-Walīd Muḥammad Ibn ʾAḥmad Ibn Rushd " ‎ ), often Latinized as Averroes ( ), was a medieval Andalusian polymath. He wrote on logic, Aristotelian and Islamic philosophy, theology, the Maliki school of Islamic jurisprudence, psychology, political and Andalusian classical music theory, geography, mathematics, and the mediæval sciences of medicine, astronomy, physics, and celestial mechanics. Ibn Rushd was born in Córdoba, Al Andalus (present-day Spain), and died at Marrakesh in present-day Morocco. His body was interred in his family tomb at Córdoba. The 13th-century philosophical movement in Latin Christian and Jewish tradition based on Ibn Rushd's work is called Averroism.
Document 3: On the Harmony of Religions and Philosophy: Fasl al-Maqal fi ma bayn al-Hikma wa al-Shariah min Ittisal (Arabic: "فصل المقال في ما بين الحكمة و الشريعة من إتصال" often translated as On the Harmony of Religions and Philosophy or The Decisive Treatise, Determining the Nature of the Connection between Religion and Philosophy, with the latter often shortened to The Decisive Treatise) is an Islamic philosophical treatise written by Andalusian Muslim polymath and philosopher Ibn Rushd (Averroes) (1126–1198), in which the author "critically examine[s] the alleged tension between philosophy and religion" and concludes that philosophy (in particular, Aristotelian philosophy) is not in opposition toand in fact, works in tandem withIslamic thought. In the work, Averroes argues that some Muslims have an obligation to study philosophy, and that the subject should be considered an Islamic science. The work also contains several other unique ideas, including Averroes' assertion that the Qur’an should sometimes be read in a non-literal way. According to William Theodore De Bary and Ainslie Embree, "On the Harmony of Religions and Philosophy" represents a "classic attempt to reconcile religion and philosophy."
Document 4: The Incoherence of the Incoherence: The Incoherence of the Incoherence (Arabic: تهافت التهافت‎ ‎ "Tahāfut al-Tahāfut") by Andalusian Muslim polymath and philosopher Averroes (Arabic, "ibn Rushd", 1126–1198) is an important Islamic philosophical treatise in which the author defends the use of Aristotelian philosophy within Islamic thought.
Document 5: Abbas ibn Firnas: Abu al-Qasim Abbas ibn Firnas ibn Wirdas al-Takurini (810–887 A.D.), also known as Abbas ibn Firnas (Arabic: عباس بن فرناس‎ ‎ ), was an Andalusian polymath: an inventor, physician, chemist, engineer, Andalusian musician, and Arabic-language poet. Of Berber descent, his name's root is AFERNAS, which is fairly widespread today in Morocco and Algeria. He was born in Izn-Rand Onda, Al-Andalus (today's Ronda, Spain), lived in the Emirate of Córdoba, and is reputed to have attempted flight.
Document 6: Ibn Rushd Prize for Freedom of Thought: The Ibn Rushd Prize for Freedom of Thought (Arabic: جائزة ابن رشد للفكر الحرّ‎ ‎ ; German: "Ibn-Ruschd-Preis für freies Denken") is awarded for merits concerning democracy and freedom of speech in the Arab world. The prize is endowed with EUR 2,500, and is awarded once a year. It has been awarded since 1999 by the non-governmental Ibn-Rushd-Fund (Arabic: مؤسسة ابن رشد للفكر الحرّ‎ ‎ ) whose members are for the most part Arab citizens living in Germany. The Fund was founded 1998 on the occasion of the 800th anniversary of Ibn Rushd's death. Ibn Rushd, a philosopher, physician and judge, better known as Averroës in medieval Europe was one of the best-known commentators on Aristotle and critic of early theologian and later Sufi mystic al-Ghazali (1058-1111). The fund has chosen the name of Ibn-Rushd as he stands for building a bridge between Islam and enlightenment. The judging committee wants to link to that flowering theologic and philosophic stage in the Arab world.
Document 7: Rumi: Jalāl ad-Dīn Muhammad Rūmī (Persian: جلال‌الدین محمد رومی‎ ‎ ), also known as Jalāl ad-Dīn Muhammad Balkhī (جلال‌الدین محمد بلخى ), Mevlânâ/Mawlānā (مولانا , "our master"), Mevlevî/Mawlawī (مولوی , "my master"), and more popularly simply as Rumi (30 September 1207 – 17 December 1273), was a 13th-century Persian Sunni Muslim poet, jurist, Islamic scholar, theologian, and Sufi mystic. Rumi's influence transcends national borders and ethnic divisions: Iranians, Tajiks, Turks, Greeks, Pashtuns, other Central Asian Muslims, and the Muslims of South Asia have greatly appreciated his spiritual legacy for the past seven centuries. His poems have been widely translated into many of the world's languages and transposed into various formats. Rumi has been described as the "most popular poet" and the "best selling poet" in the United States.
Document 8: Al-Ghazali: Abū Ḥāmid Muḥammad ibn Muḥammad al-Ghazālī ( ; Arabic: أبو حامد محمد بن محمد الغزالي‎ ‎ ;  1058 – 19 December 1111), shortened as Al-Ghazali in Arabic or Ghazali in Persian and known as Algazelus or Algazel to the Western medieval world, was a Persian theologian, jurist, philosopher, and mystic.
Document 9: Ibn Taymiyyah: Taqī ad-Dīn Ahmad ibn Taymiyyah (Arabic: تقي الدين أحمد ابن تيمية, died 26 September 1328), known as Ibn Taymiyyah for short, was a controversial medieval Sunni Muslim theologian, jurisconsult, logician, and reformer. A member of the Hanbali school of jurisprudence founded by Ahmad ibn Hanbal, Ibn Taymiyyah was also a member of the Qadiriyya Sufi order founded by the twelfth-century mystic and saint Abdul-Qadir Gilani. A polarizing figure in his own lifetime, Ibn Taymiyyah's contentious and iconoclastic views on such widely accepted Sunni doctrines of the medieval period such as the veneration of saints and the visitation to their tomb-shrines made him very unpopular with the vast majority of the orthodox religious scholars of the time, under whose orders he was imprisoned several times during his life.
Document 10: Abu Jafar ibn Harun al-Turjali: Abu Jafar ibn Harun al-Turjali (died c. 1180) was born and raised in Trujillo to a noted Muladi Muslim family. He received his education in Cordoba and later entered Almoravid service as a physician in Seville in Al-Andalus, he was a talented reader regarding the works of philosophy, he was thoroughly familiar with the Principles ("usul") and the Branches ("fura") of medical science, he was an excellent practitioner and his cures were frequently successful. He was the renowned educator of Ibn Bajjah and the young Ibn Rushd in his late years.
Document 11: Early Islamic philosophy: Early Islamic philosophy or classical Islamic philosophy is a period of intense philosophical development beginning in the 2nd century AH of the Islamic calendar (early 9th century CE) and lasting until the 6th century AH (late 12th century CE). The period is known as the Islamic Golden Age, and the achievements of this period had a crucial influence in the development of modern philosophy and science; for Renaissance Europe, the influence represented “one of the largest technology transfers in world history.”. This period starts with al-Kindi in the 9th century and ends with Averroes (Ibn Rushd) at the end of 12th century. The death of Averroes effectively marks the end of a particular discipline of Islamic philosophy usually called the "Peripatetic Arabic School", and philosophical activity declined significantly in Western Islamic countries, namely in Islamic Spain and North Africa, though it persisted for much longer in the Eastern countries, in particular Persia and India where several schools of philosophy continued to flourish: Avicennism, Illuminationist philosophy, Mystical philosophy, and Transcendent theosophy.
Document 12: Ibn Qayyim al-Jawziyya: Shams al-Dīn Abū ʿAbd Allāh Muḥammad ibn Abī Bakr ibn Ayyūb al-Zurʿī l-Dimashqī l-Ḥanbalī (1292–1350 CE / 691 AH–751 AH), commonly known as Ibn Qayyim al-Jawziyya ("The son of the principal of [the school of] Jawziyyah") or Ibn al-Qayyim ("Son of the principal"; ابن قيم الجوزية) for short, or reverentially as Imam Ibn al-Qayyim in Sunni tradition, was an important medieval Islamic jurisconsult, theologian, and spiritual writer. Belonging to the Hanbali school of orthodox Sunni jurisprudence, of which he is regarded as "one of the most important thinkers," Ibn al-Qayyim is today best remembered as the foremost disciple and student of the controversial and influential fourteenth-century Sunni reformer Ibn Taymiyyah, with whom he was imprisoned in 1326 for dissenting against established tradition during Ibn Taymiyyah's famous incarceration in the Citadel of Damascus.
Document 13: Al-Nizamiyya of Baghdad: Al-Nizamiyya of Baghdad (Arabic,المدرسة النظامية ), one of the first nezamiyehs, was established in 1065. In July 1091, Nizam al-Mulk appointed the 33-year-old Al-Ghazali as a professor of the school. Offering free education, it has been described as the "largest university of the Medieval world". Ibn Tumart, founder of the Berber Almohad dynasty, reputedly attended the school and studied under al-Ghazali. Nizam al-Mulk's son-in-law Mughatil ibn Bakri was also employed by the school. In 1096, when al-Ghazali left the nezamiyeh, it housed 3000 students. In 1116, Muhammad al-Shahrastani taught at the nezamiyeh. In the 1170s, statesman Beha Ud-Din taught at the nezamiyeh, before he moved on to teach in Mosul.
Document 14: Kimiya-yi sa'ādat: Kimiya-yi Sa'ādat (Persian: کیمیای سعادت‎ ‎ , English: The Alchemy of Happiness ) was written by Abū Ḥāmid Muḥammad ibn Muḥammad al-Ghazālī, a Persian theologian, philosopher, and prolific Sunni Muslim author regarded as one of the greatest systematic thinkers of Islam. The Kimiya-yi Sa'ādat was written towards the end of his life shortly before 499/1105. During the time before it was written the Muslim world was considered to be in a state of political as well as intellectual unrest. Al-Ghazālī, noted that there were constant disputes regarding the role of philosophy and scholastic theology, and that Sufis became chastised for their neglect of the ritual obligations of Islam. Upon its release, the Kimiya-yi sa'ādat allowed al-Ghazali to considerably reduce the tensions between the scholars and mystics. Kimiya-yi sa'ādat emphasized the importance of observing the ritual requirements of Islam, the actions that would lead to salvation, and avoidance of sin. The factor that set the Kimiya-yi sa'ādat apart from other theological works at the time was its mystical emphasis on self-discipline and asceticism.
Document 15: Ibn Tufail: Ibn Tufail (c. 1105 – 1185) (full Arabic name: أبو بكر محمد بن عبد الملك بن محمد بن طفيل القيسي الأندلسي "Abu Bakr Muhammad ibn Abd al-Malik ibn Muhammad ibn Tufail al-Qaisi al-Andalusi"; Latinized form: "Abubacer Aben Tofail"; Anglicized form: "Abubekar" or "Abu Jaafar Ebn Tophail") was a Moorish Andalusian Muslim polymath: a writer, novelist, Islamic philosopher, Islamic theologian, physician, astronomer, vizier, and court official.
ground_truth: Ibn Rushd