Who was the schoolmate of the Umar Khayyam (the great poet) and Hasan bin Sabah, the founder of the Batiniyah sect of the Abbassins?

Who was the schoolmate of the Umar Khayyam (the great poet) and Hasan bin Sabah, the founder of the Batiniyah sect of the Abbassins?

A. Al-Mawardi
B. Al-Farabi
C. Al-Ghazali
D. Nizam-ul-Mulk Tusi