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.
bukhari:2702Musaddad > Bishr > Yaḥyá > Bushayr b. Yasār > Sahl b. Abū Ḥathmah

ʿAbdullah bin Sahl and Muhaiyisa bin Masʿud bin Zaid went to Khaibar when it had a peace treaty (with the Muslims).  

البخاري:٢٧٠٢حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا بِشْرٌ حَدَّثَنَا يَحْيَى عَنْ بُشَيْرِ بْنِ يَسَارٍ عَنْ سَهْلِ بْنِ أَبِي حَثْمَةَ قَالَ

انْطَلَقَ عَبْدُ اللَّهِ بْنُ سَهْلٍ وَمُحَيِّصَةُ بْنُ مَسْعُودِ بْنِ زَيْدٍ إِلَى خَيْبَرَ وَهْىَ يَوْمَئِذٍ صُلْحٌ