We have accepted your allegiance, so you may go.

Sahih Muslim Book 39, Hadith 174