What did Muhammad and his army do when they returned to Mecca?

He announced general amnesty and repeated the words of Hazrat Yousaf (AS) that he uttered while forgiving his brothers, "There is no revenge unto you today."