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:1682Maḥmūd b. Ghaylān > Wakīʿ > Sufyān > Abū Isḥāq > al-Muhallab b. Abū Ṣufrah ʿAmman

From one who heard the Prophet ﷺ saying: "If you suffer a surprise attack from the enemy then say: 'Ha Min, they will not be victorious.'"  

[Abu 'Eisa said:] There is something on this topic from Salamah bin Al-Akwa'. This is how some of them reported it from Abu Ishaq, the same as the narration of Ath-Thawri. And it has been reported from him, from Al-Muhallab bin Abi Sufrah from the Prophet ﷺ in Mursal form.
الترمذي:١٦٨٢حَدَّثَنَا مَحْمُودُ بْنُ غَيْلاَنَ حَدَّثَنَا وَكِيعٌ حَدَّثَنَا سُفْيَانُ عَنْ أَبِي إِسْحَاقَ عَنِ الْمُهَلَّبِ بْنِ أَبِي صُفْرَةَ عَمَّنْ

سَمِعَ النَّبِيَّ ﷺ يَقُولُ إِنْ بَيَّتَكُمُ الْعَدُوُّ فَقُولُوا حم لاَ يُنْصَرُونَ  

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

See similar narrations below:

Collected by Abū Dāwūd
abudawud:2597Muḥammad b. Kathīr > Sufyān > Abū Isḥāq > al-Muhallab b. Abū Ṣufrah > Man

Al-Muhallab ibn AbuSufrah said: A man who heard the Prophet ﷺ say: If the enemy attacks you at night, let your war cry be Ha-Mim. They will not be helped.  

أبو داود:٢٥٩٧حَدَّثَنَا مُحَمَّدُ بْنُ كَثِيرٍ أَخْبَرَنَا سُفْيَانُ عَنْ أَبِي إِسْحَاقَ عَنِ الْمُهَلَّبِ بْنِ أَبِي صُفْرَةَ قَالَ أَخْبَرَنِي مَنْ

سَمِعَ النَّبِيَّ ﷺ يَقُولُ إِنْ بُيِّتُّمْ فَلْيَكُنْ شِعَارُكُمْ حم لاَ يُنْصَرُونَ