The Quyaysh boycotted Banū Hāshim because they protected the Prophet (S.A.W) and refused to surrender him. The Quyaysh were against the Prophet (S.A.W) and his teachings, and they wanted to force him and his followers to abandon their beliefs. Banū Hāshim, which included the Prophet (S.A.W)'s close family members, refused to surrender him to the Quyaysh and protected him. As a result, the Quyaysh boycotted Banū Hāshim and prevented them from buying and selling goods or marrying outside their clan. This boycott lasted for three years and caused a great deal of hardship for Banū Hāshim.