Abdullah bin Amr bin As reported,

While we were gathered around the Messenger of Allah ﷺ, the subject of trials and tribulations came up, or it was mentioned in his presence. He said, "When you see that people have broken their covenants, neglected their trusts, and become like this," and he interlaced his fingers.I stood up and went to him and asked, "What should I do when that happens, may Allah make me your ransom?"He replied, "Stay in your home, hold your tongue, take what you recognize as good and leave what you find objectionable, attend to your own affairs, and leave aside the affairs of the masses."

Ahmad 6987

Sahih

حدثنا أبو نعيم حدثنا يونس يعني ابن أبي إسحاق عن هلال بن خباب أبي العلاء قال حدثني عكرمة

حدثني عبد الله بن عمرو قال

بينما نحن حول رسول الله ﷺ إذ ذكروا الفتنة أو ذكرت عنده قال إذا رأيت الناس قد مرجت عهودهم وخفت أماناتهم وكانوا هكذا وشبك بين أصابعه قال فقمت إليه فقلت له كيف أفعل عند ذلك جعلني الله فداك قال الزم بيتك واملك عليك لسانك وخذ ما تعرف ودع ما تنكر وعليك بأمر خاصة نفسك ودع عنك أمر العامة

أحمد 6987صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Amr bin As
Numbering
Darussalam 6987
Ahmad 6987