When Rasulullah reached the age of thirty-three, he developed a tendency to be alone and in deep thought. In the years that followed, he began to experience a Divine feeling and was drawn more towards the contemplation of the Great Creator, Allah. There was an ever-present light and brilliance 'Noor' around him which gladdened his heart.
Rasulullah resented the worship of idols and he denounced 'polytheism' (worship of more than one God). He abstained from eating food that had been offerings to the idols.
As Rasulullah 's age neared forty years, he desired to be lonely and in solitude grew ever stronger. He avoided all worldly contacts and began to retire to the quite of the cave of Hira which was about five kilometers from Makkah. The cave was only three meters by two meters in size. During his visits to the cave he took with him only a meagre supply of bread and water.
He was always engaged in prayer and contemplation of the Greatness of Allah. He had Divine dreams of things to come. Seven years passed in this manner and during the last six months of the seven years the Divine dream persisted in such a regular pattern, that they became a part of his life.
Contents of the biography of the Prophet Muhammed