TABARANI 12968:
from Ibn ʿAbbās —
[Machine] That the Prophet ﷺ gave Muhammad ibn Muslimah a sword and said, "Fight the polytheists until they submit. And when you see two swords conflicting among the Muslims, strike until discord is gone, and then sit in your house until death or an incorrect hand comes to you." Then I came to Ibn Umar and he urged me to follow the same command from the Prophet ﷺ .
الطبراني ١٢٩٦٨:
عن ابن عباس —
أَنَّ النَّبِيَّ ﷺ أَعْطَى مُحَمَّدَ بْنَ مَسْلَمَةَ سَيْفًا فَقَالَ «قَاتَلِ الْمُشْرِكِينَ مَا قُوتِلُوا فَإِذَا رَأَيْتَ سَيْفَيْنِ اخْتَلَفَا بَيْنَ الْمُسْلِمِينَ فَاضْرِبْ حَتَّى يَنْثَلِمَ وَاقْعُدْ فِي بَيْتِكِ حَتَّى تَأْتِيَكَ مَنِيَّةٌ قَاضِيَةٌ أَوْ يَدٌ خَاطِئَةٌ» ثُمَّ أَتَيْتُ ابْنَ عُمَرَ فَحَذَا لِي عَلَى مِثْلِهِ عَنِ النَّبِيِّ ﷺ
hadithunlocked.com