From Madeenah University:
Shaykh Salih al-Suhaymee (hafidhahullaah) said:
“When ‘Uthmaan (radiallaahu ‘anhu) was besieged before his assassination, he ordered the companions (radiallaahu ‘anhum) to go home and close their doors. ‘Uthmaan implored them by Allaah, and told them to lock their doors… to prevent widespread bloodshed.
I advise the Egyptians and the students of knowledge to stay in their homes and lock their doors.”When turmoil occurs, stay in your houses! Imam al-Barbaharee (rahimahullaah) said in his Sharh as-Sunnah:”When turmoil (fitnah) occurs, remain within your house and flee from the neighborhood of tumult. Beware of blind following and every case of fighting between Muslims for this world is discord and a trial. Fear Allaah, who is Alone, having no partner. Do not go out in it, do not fight in it, do not take part in it, do not take sides in it, nor incline towards either (side) and do not have love for any of their affairs, since it is said, ‘He who loves the deeds of a people, good or bad, is just like the one who commits them.’ May Allaah grant us and you those things pleasing to Him and keep us away from disobedience to Him…”Ibn az-Zubayr (radiallaahu ‘anhu) narrated: My close friend, Abul-Qaasim (the Prophet, sallallaahu alaihi wa sallam) advised me: “If you reach anything of the tumult (fitnah), go to Uhud and blunt yours sword upon it, then remain in your house.”
[Reported by Ahmad in al-Musnad (4/226 and 5/69). Its isnaad is hasan, as has been mentioned by Shaikh al-Albaanee (rahimahullaah) in as-Saheehah (3/no.1373).]