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.
bayhaqi:18449[Chain 1] ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd al-Ṣaffār > ʿUbayd b. Sharīk [Chain 2] Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr b. Isḥāq > ʿUbayd b. Sharīk > Yaḥyá b. Bukayr > al-Layth > ʿUqayl > Ibn Shihāb > ʿAbd al-Raḥman b. ʿAbdullāh b. Kaʿb b. Mālik > ʿAbdullāh b. Kaʿb > Kaʿb b. Mālik ؓ > Ḥīn Takhallaf

[Machine] From the Messenger of Allah ﷺ , he mentioned the hadith and said, "The Messenger of Allah ﷺ would not intend to engage in a battle except to proceed towards another one."  

البيهقي:١٨٤٤٩أَخْبَرَنَا عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنبأ أَحْمَدُ بْنُ عُبَيْدٍ الصَّفَّارُ ثنا عُبَيْدُ بْنُ شَرِيكٍ ح وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو بَكْرِ بْنُ إِسْحَاقَ ثنا عُبَيْدُ بْنُ شَرِيكٍ ثنا يَحْيَى بْنُ بُكَيْرٍ ثنا اللَّيْثُ عَنْ عُقَيْلٍ عَنِ ابْنِ شِهَابٍ عَنْ عَبْدِ الرَّحْمَنِ بْنِ عَبْدِ اللهِ بْنِ كَعْبِ بْنِ مَالِكٍ أَنَّ عَبْدَ اللهِ بْنَ كَعْبٍ قَالَ سَمِعْتُ كَعْبَ بْنَ مَالِكٍ ؓ يُحَدِّثُ حِينَ تَخَلَّفَ

عَنْ رَسُولِ اللهِ ﷺ فَذَكَرَ الْحَدِيثَ قَالَ وَلَمْ يَكُنْ رَسُولُ اللهِ ﷺ يُرِيدُ غَزْوَةً يَغْزُوهَا إِلَّا وَرَّى بِغَيْرِهَا  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ يَحْيَى بْنِ بُكَيْرٍ وَأَخْرَجَهُ مُسْلِمٌ مِنْ وَجْهٍ آخَرَ عَنِ اللَّيْثِ