It is a meaningful thing for a scientist of the stature of Ibn Sina, certainly one of the best scientific minds in the whole history of mankind, to often resort to prayer to seek God's help in solving his philosophical and scientific problems. And it is also perfectly understandable why the purification of the soul is considered an integral part of the methodology of knowledge.