While the Prophet ﷺ was performing Tawaf of the Kaʿba, he passed by a person who had tied his hands to another person with a rope or string or something like that. The Prophet ﷺ cut it with his own hands and said, "Lead him by the hand." (Using translation from Bukhārī 1620)
أَنَّ النَّبِيَّ ﷺ مَرَّ وَهُوَ يَطُوفُ بِالْكَعْبَةِ بِإِنْسَانٍ قَدْ رَبَطَ يَدَهُ إِلَى إِنْسَانٍ آخَرَ بِسَيْرٍ أَوْ بِخَيْطٍ أَوْ بِشَيْءٍ غَيْرِ ذَلِكَ فَقَطَعَهُ النَّبِيُّ ﷺ بِيَدِهِ ثُمَّ قَالَ قُدْهُ بِيَدِهِ