Muhammad left school in 622.
Muhammad . To escape persecution , Muhammad sent some followers to Abyssinia before he and his followers migrated from Mecca to Medina ( then known as Yathrib ) in the year 622 . In 632 , a few months after returning from the Farewell Pilgrimage , he fell ill and died .