It is narrated, most likely as a marfu’ hadith, from Sayyiduna Ibn Mas’ud (may Allah be pleased with him) that whoever supports and assists his people in something that is unjust and wrong, his example is like that of a camel which falls into a well, and then tries to get out of the well by relying on its tail.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 3726
Hadith Gradingحکم دارالسلام:إسناده حسن عند من يصحح سماع عبدالرحمن من أبيه، وضعيف عند من يقول: إنه لم يسمع منه إلا اليسير.