Abu Dawud Book 30, Hadith Number 4243.

Chapter : Prohibition of running to commotion fitnah.

Narated By Abu Bakrah : The Apostle of Allah (PBUH) said: There will be a period of commotion in which the one who lies down will be better than the one who sits, and the one who sits is better than the one who stands, and the one who stands is better than the one who walks, and the one who walks is better than the one who runs (to it).

He asked: What do you command me to do, Apostle of Allah? He replied: He who has camels should remain with his camels, he who has sheep should remain with his sheep, and he who has land should remain with his land.

He asked: If anyone has more of these, (what should he do)?

He replied: He should take his sword, strike its edge on a stone, and then escape if he can.