 He also studied hadith under Hakim al-Nishaburi, Abu Mansur Al-Baghdadi and others, and was al-Nishaburi's foremost pupil.He died in 1066 CE.Bayhaqi was a prominent author in his time, having authored more than one thousand volumes according to Al-Dhahabi.