Sayyiduna al-Aswad bin Sari' (may Allah be pleased with him) said: A captive was brought to the Messenger of Allah (peace and blessings be upon him), and he said: "I repent to Allah, but I do not repent to Muhammad." He (peace and blessings be upon him) said: "He has recognised the right of the One to whom it belongs."
Hadith Referenceالمعجم الكبير للطبراني / باب الألف / 835