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.
quran:47:7

O you who have believed, if you support Allah, He will support you and plant firmly your feet.  

O you who believe! If you help God, that is to say, His religion and His Messenger, He will help you, against your enemy, and make your foothold firm, He will make you stand firm ˹while you fight˺ on the battleground.
القرآن:٤٧:٧

يَا أَيُّهَا الَّذِينَ آمَنُوا إِنْ تَنْصُرُوا اللَّهَ يَنْصُرْكُمْ وَيُثَبِّتْ أَقْدَامَكُمْ  

{يا أيها الذين آمنوا إن تنصروا الله} أي دينه ورسوله {ينصركم} على عدوكم {ويثبِّت أقدامكم} يثبتكم في المعترك.