At this time, Muhammad arranged for some of his followers to emigrate to Ethiopia. The boycott lasted for three years. Ali stood firmly in support of Muhammad during the years of persecution of Muslims and the boycott of Banu Hashim in Mecca.