It was narrated from Abu Dhar that the Messenger of Allah P.B.U.H said: "What will you do, 0 Abu Dharr, when death overwhelms the people to such an that a grave will be equal In value to a slave?" I said: ·Whatever Allah and His Messenger choose for me or and His Messenger know best.'' He said: "Be patient." He Said' 'What will you do when e strikes the people so that You will go to the place where you pray and will not be able to return to your bed, or you will bed able to get up from your pray,go to the place where you pray?'' He said: "I said: 'Allah and Messenger know best, or whatever Allah and His Messenger choose for me." He said: ''You must refrain forbidden things.” He said: “What will you do when killing befalls the people so that Hijaratuz-Zait is covered with blood?” I said: “Whatever Allah and His Messenger choose for me.” He said: “Stay with those whom you belong to.” He said: “I said: ‘0 Messenger of Allah, should I not take my sword and strike those who do that?” He said: “Then you will be just like the people. Rather enter your house.” I said: “0 Messenger of Allah, what if they enter my house?” He said: “If you are afraid that the flashing of the sword will dazzle you, then put the edge of your garment over you face, and let him carry his own sin and your sin, and he will be one of the people of Hellfire.”
(Sahih)