Which of the following is known for his piety and memorized the Qur'an by the age of 7: Ahmad Nahavandi or Shah Waliullah Dehlawi?
Shah Waliullah Dehlawi Shah Waliullah was born on 21 February 1703 to Shah Abdur Rahim, during the reign of Emperor Aurengzeb. He was known as Shah walliullah because of his piety. A prominent Sufi and scholar of Delhi. He memorized the Qur'an by the age of seven. Soon thereafter, he mastered Arabic and Persian letters. He was married at fourteen. By sixteen he had completed the standard curriculum of Hanafi law, theology, geometry, arithmetic and logic. He lived during the time when Fatawa-e-Alamgiri was being compiled and he was asked to join the team of scholars that was working on it, however, credible sources reveal that he joined the team but for a very brief period of time and then he dissociated himself from the task. His father, Shah Abdur Rahim was the founder of the Madrasah-i Rahimiyah. Shah Abdur Rahim was on the committee appointed by Aurangzeb for compilation of the code of law, Fatwa-e-Alamgiri. His grandfather, Sheikh Wajihuddin, was an important officer in the army of Shah Jahan.
Sunan Gunungjati Sunan Gunungjati (1448 – 19 September 1568) was one of the Wali Songo, or nine saints of Islam revered in Indonesia. He founded the Sultanate of Banten, as well as the Sultanate of Cirebon on the north coast of Java. He was born Syarif Hidayatullah (Arabic: شريف هداية الله‎ ‎ "Sharīf Hidāyah Allāh " in 1448 CE: the child of a dynastic union between Syarif Abdullah Maulana Huda, an Egyptian of Hashemite descent, and Nyai Rara Santang, daughter of the Prabu Siliwangi, King of Sunda ( Pajajaran ). As such, Syarif Hidayatullah could claim descent, on his paternal side, from the Islamic prophet Muhammad, through his daughter, Fatima; and on his mother's side, a Hindu Devaraja of Sunda.