Abdullah bin Amr bin As reported,

The Messenger of Allah ﷺ said to me, "How will you be when you are left among the dregs of people?"I asked, "Messenger of Allah, how will that be?"He replied, "When their covenants and trusts have become corrupted and they have become like this," and Yunus interlaced his fingers to demonstrate.I asked, "What should I do then, Messenger of Allah?"He answered, "Fear Allah عز وجل, take what you recognize as good, leave what you find objectionable, attend to your own affairs, and stay away from their general masses."

Ahmad 6508

Sahih

حدثنا إسماعيل عن يونس عن الحسن أن

عبد الله بن عمرو قال

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

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