It is narrated from Sayyiduna Muhammad bin Maslamah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "O Muhammad! When you see the people fighting one another over the world (and its goods), take your sword to the largest rock in the Harrah and strike it against it until it breaks; then stay in your house until a sinful hand reaches you or a decreed death comes to you." (Sayyiduna Muhammad bin Maslamah (may Allah be pleased with him) said:) "So I did what the Prophet (peace and blessings be upon him) commanded me."
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated this hadith from Ubaydullah (may Allah have mercy on him) except Muhammad (bin Ibrahim) (may Allah have mercy on him), and Muhammad bin Maslamah (al-Makhzumi) (may Allah have mercy on him) is alone in it."
Hadith Referenceالمعجم الأوسط / باب الألف / 1289
Hadith Takhrij«أخرجه الحاكم فى «المستدرك» برقم: 4630، وابن ماجه فى «سننه» برقم: 3962، والبيهقي فى «السنن الكبرى» برقم: 16902، وأحمد فى «مسنده» برقم: 16275، 16276، 16277، 18262، وابن أبي شيبة فى «مصنفه» برقم: 38304، 38353، 38394، والطبراني فى «الكبير» برقم: 513، 517، 518، 523، 524، والطبراني فى «الصغير» برقم: 404»