After the treaty broke down, the Prophet ﷺ marched on Mecca in Ramadan, 8 AH (January 630 CE). The city submitted with very little fighting. Abdullah ibn Mas'ud records that there were 360 idols around the Ka'bah, and that he struck them with a stick, reciting: “Truth has come and falsehood will neither begin nor return.”

He declared an amnesty for the people who had driven him out. The well-known words “Go, for you are free” come from the early biographies. Scholars have questioned the strength of that chain of narration, so we report the amnesty as an established event and the exact wording as a report of the biographers.