The Muslims were steadily increasing. The Quraish were so concerned, they decided to expel the Prophet (peace be upon him) and his followers and force them to live in a confined section of the town. No provisions were allowed to be given to them, and the Muslims had to suffer long torturous periods without food and water.
The Quraish wrote a document containing a ban on the Banu Hashim and Banu al-Muttalib. They declared that they would not marry the women of these clans or sell them any goods. They displayed the parchment announcing the ban inside the Ka’bah in order to give it authority.
The boycott was so strictly applied, that the Muslims had to eat the leaves of trees. The hungry children’s cries could be heard all over the valley. The Muslims remained in this state for three years, until the ban was finally lifted and the document was miraculously destroyed.
Even with such severe conditions, the Prophet (peace be upon him) remained firm and continued calling the people to Allah night and day, secretly and openly.