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:18078Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Bakr Aḥmad b. al-Ḥasan al-Qāḍī > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Muḥammad b. Isḥāq al-Ṣaghānī > Muʿāwiyah b. ʿAmr > Abū Isḥāq > Mūsá b. ʿUqbah > Sālim

[Machine] "The Messenger of Allah ﷺ said, 'Do not wish to meet the enemy and ask Allah for safety. But if you meet them, be patient and know that Paradise lies under the shade of the swords.'"  

البيهقي:١٨٠٧٨أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو بَكْرٍ أَحْمَدُ بْنُ الْحَسَنِ الْقَاضِي قَالَا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا مُحَمَّدُ بْنُ إِسْحَاقَ الصَّغَانِيُّ ثنا مُعَاوِيَةُ بْنُ عَمْرٍو ثنا أَبُو إِسْحَاقَ عَنْ مُوسَى بْنِ عُقْبَةَ عَنْ سَالِمٍ أَبِي النَّضْرِ مَوْلَى عُمَرَ بْنِ عُبَيْدِ اللهِ وَكَانَ كَاتِبًا لَهُ قَالَ كَتَبَ إِلَيْهِ عَبْدُ اللهِ بْنُ أَبِي أَوْفَى ؓ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ لَا تَتَمَنَّوْا لِقَاءَ الْعَدُوِّ وَسَلُوا اللهَ الْعَافِيَةَ فَإِذَا لَقِيتُمُوهُمْ فَاصْبِرُوا وَاعْلَمُوا أَنَّ الْجَنَّةَ تَحْتَ ظِلَالِ السُّيُوفِ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ عَبْدِ اللهِ بْنِ مُحَمَّدٍ عَنْ مُعَاوِيَةَ بْنِ عَمْرٍوَ

See similar narrations below:

Collected by Ḥākim
hakim:2413Aḥmad b. Muḥammad al-ʿAnazī > ʿUthmān b. Saʿīd al-Dārimī > Maḥbūb b. Mūsá > Abū Isḥāq al-Fazārī > Mūsá b. ʿUqbah

[Machine] Abdullah bin Abi Awfa wrote to him at the time when he went to Al-Harrooriya a letter in which it was mentioned that the Messenger of Allah ﷺ said, "O people! Do not desire to meet the enemy, and seek the protection of Allah. But if you meet them, be patient and know that Paradise lies under the shade of swords."  

الحاكم:٢٤١٣أَخْبَرَنِي أَحْمَدُ بْنُ مُحَمَّدٍ الْعَنَزِيُّ حَدَّثَنَا عُثْمَانُ بْنُ سَعِيدٍ الدَّارِمِيُّ ثنا مَحْبُوبُ بْنُ مُوسَى ثنا أَبُو إِسْحَاقَ الْفَزَارِيُّ عَنْ مُوسَى بْنِ عُقْبَةَ عَنْ سَالِمٍ أَبِي النَّضْرِ مَوْلَى عُمَرَ بْنِ عَبْدِ اللَّهِ وَكَانَ كَاتِبًا لَهُ قَالَ

كَتَبَ إِلَيْهِ عَبْدُ اللَّهِ بْنُ أَبِي أَوْفَى حِينَ خَرَجَ إِلَى الْحَرُورِيَّةِ كِتَابًا فَإِذَا فِيهِ إِنَّ رَسُولَ اللَّهِ ﷺ قَالَ «يَا أَيُّهَا النَّاسُ لَا تَتَمَنَّوْا لِقَاءَ الْعَدُوِّ وَسَلُوا اللَّهَ الْعَافِيَةَ فَإِذَا لَقِيتُمُوهُ فَاصْبِرُوا وَاعْلَمُوا أَنَّ الْجَنَّةَ تَحْتَ ظِلَالِ السُّيُوفِ»  

هَذَا حَدِيثٌ صَحِيحٌ عَلَى شَرْطِ الشَّيْخَيْنِ وَلَمْ يُخَرِّجَاهُ على شرط البخاري ومسلم