Question: Who lived longer, Al-Ghazali or Averroes (Ibn Rushd)?
Context: Aristotelianism ( ) is a tradition of philosophy that takes its defining inspiration from the work of Aristotle.  This school of thought is in the modern sense of philosophy, covering existence, ethics, mind and related subjects.  In Aristotle's time, philosophy included natural philosophy, which was replaced by modern science during the Scientific Revolution.  The works of Aristotle were initially defended by the members of the Peripatetic school and later on by the Neoplatonists, who produced many commentaries on Aristotle's writings.  In the Islamic Golden Age, Ibn Sina and Ibn Rushd translated the works of Aristotle into Arabic and under philosophers such as Al-Kindi, Al-Farabi, Avicenna and Averroes, Aristotelianism became a major part of early Islamic philosophy. 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. 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. 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. 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." 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. 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. 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. 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. 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.
Answer: Ibn Rushd