Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:1417ʿAlī b. Saʿīd al-Kindī > Ibn al-Mubārak > Maʿmar > Bahz b. Ḥakīm from his father from his grandfather

from his father, from his grandfather, that the Prophet ﷺ imprisoned a man for an accusation, then he let him go.  

الترمذي:١٤١٧حَدَّثَنَا عَلِيُّ بْنُ سَعِيدٍ الْكِنْدِيُّ حَدَّثَنَا ابْنُ الْمُبَارَكِ عَنْ مَعْمَرٍ عَنْ بَهْزِ بْنِ حَكِيمٍ عَنْ أَبِيهِ عَنْ جَدِّهِ

أَنَّ النَّبِيَّ ﷺ حَبَسَ رَجُلاً فِي تُهْمَةٍ ثُمَّ خَلَّى عَنْهُ قَالَ وَفِي الْبَابِ عَنْ أَبِي هُرَيْرَةَ  

قَالَ أَبُو عِيسَى حَدِيثُ بَهْزٍ عَنْ أَبِيهِ عَنْ جَدِّهِ حَدِيثٌ حَسَنٌ وَقَدْ رَوَى إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ عَنْ بَهْزِ بْنِ حَكِيمٍ هَذَا الْحَدِيثَ أَتَمَّ مِنْ هَذَا وَأَطْوَلَ

See similar narrations below:

Collected by Nasāʾī, Bayhaqī
nasai:4876ʿAlī b. Saʿīd b. Masrūq > ʿAbdullāh b. al-Mubārak > Maʿmar > Bahz b. Ḥakīm from his father from his grandfather

the Messenger of Allah detained a man who was under suspicion, and then he let him go. (Hssan)  

النسائي:٤٨٧٦أَخْبَرَنَا عَلِيُّ بْنُ سَعِيدِ بْنِ مَسْرُوقٍ قَالَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ الْمُبَارَكِ عَنْ مَعْمَرٍ عَنْ بَهْزِ بْنِ حَكِيمٍ عَنْ أَبِيهِ عَنْ جَدِّهِ

أَنَّ رَسُولَ اللَّهِ ﷺ حَبَسَ رَجُلاً فِي تُهْمَةٍ ثُمَّ خَلَّى سَبِيلَهُ  

bayhaqi:11291Abū Ṭāhir al-Faqīh > Abū Ṭāhir Muḥammad b. al-Ḥasan al-Muḥammadābādhī > Aḥmad b. Yūsuf al-Sulamī > ʿAbd al-Razzāq > Maʿmar > Bahz b. Ḥakīm b. Muʿāwiyah from his father from his grandfather

[Machine] The Prophet (PBUH) detained a man on a charge for one hour during the day, then he released him.  

البيهقي:١١٢٩١أَخْبَرَنَا أَبُو طَاهِرٍ الْفَقِيهُ أنبأ أَبُو طَاهِرٍ مُحَمَّدُ بْنُ الْحَسَنِ الْمُحَمَّدْآبَاذِيُّ ثنا أَحْمَدُ بْنُ يُوسُفَ السُّلَمِيُّ ثنا عَبْدُ الرَّزَّاقِ أنبأ مَعْمَرٌ عَنْ بَهْزِ بْنِ حَكِيمِ بْنِ مُعَاوِيَةَ عَنْ أَبِيهِ عَنْ جَدِّهِ

أَنَّ النَّبِيَّ ﷺ حَبَسَ رَجُلًا فِي تُهْمَةٍ سَاعَةً مِنْ نَهَارٍ ثُمَّ خَلَّى عَنْهُ