Ibn Sina himself was at this time stricken by a severe illness.
Finally, at Gorgan, near the Caspian Sea, Ibn Sina met with a friend, who bought a dwelling near his own house in which Ibn Sina lectured on logic and astronomy.
So great was his joy at the discovery, made with the help of a work from which he had expected only mystery, that he hastened to return thanks to God, and bestowed alms upon the poor.
He turned to medicine at 16, and not only learned medical theory, but also by gratuitous attendance of the sick had, according to his own account, discovered new methods of treatment.
Various texts (such as the 'Ahd with Bahmanyar) show that he debated philosophical points with the greatest scholars of the time.
Aruzi Samarqandi describes how before Avicenna left Khwarezm he had met Al-Biruni (a famous scientist and astronomer), Abu Nasr Iraqi (a renowned mathematician), Abu Sahl Masihi (a respected philosopher) and Abu al-Khayr Khammar (a great physician). His father worked in the government of Samanid in the village Kharmasain, a Sunni regional power.
The study of the Quran and the Hadith thrived in such a scholarly atmosphere.
Philosophy, Fiqh and theology (kalaam) were further developed, most noticeably by Avicenna and his opponents.
Ibn Sina created an extensive corpus of works during what is commonly known as the Islamic Golden Age, in which the translations of Greco-Roman, Persian, and Indian texts were studied extensively.
Greco-Roman (Mid- and Neo-Platonic, and Aristotelian) texts translated by the Kindi school were commented, redacted and developed substantially by Islamic intellectuals, who also built upon Persian and Indian mathematical systems, astronomy, algebra, trigonometry and medicine.
About thirty of Ibn Sina's shorter works are said to have been composed in Rey.
Constant feuds which raged between the regent and her second son, Shams al-Daula, however, compelled the scholar to quit the place.
Deep into the night, he would continue his studies, and even in his dreams problems would pursue him and work out their solution.