One of the many Hadith we should pay special attention too. Separate yourself from all Factions
It has been narrated on the authority of Hudhaifa bin Al-Yaman (Radhi Allahu Anhu) who said: People used to ask the Messenger of Allah ﷺ about the good times, but I used to ask him about bad times fearing lest they overtake me.
I said: Messenger of Allah, we were in the midst of ignorance and evil, and then Allah brought us this good (time through Islam). Is there any bad time after this good one? He ﷺ said: Yes.
I asked: Will there be a good time again after that bad time? He ﷺ said: Yes, but therein will be a hidden evil.
I asked: What will be the evil hidden therein? He ﷺ said: (That time will witness the rise of) the people who will adopt ways other than mine and seek guidance other than mine. You will know good points as well as bad points.
I asked: Will there be a bad time after this good one? He ﷺ said: Yes. (A time will come) when there will be people standing and inviting at the gates of Hell. Whoso responds to their call they will throw them into the fire.
I said: O Messenger of Allah, describe them for us. He ﷺ said: All right. They will be a people having the same complexion as ours and speaking our language.
I said: O Messenger of Allah, what do you suggest if I happen to live in that time? He ﷺ said: You should stick to the main body of the Muslims and their leader.
I said: If they have no (such thing as the) main body and have no leader? He ﷺ said: Separate yourself from all these factions, though you may have to eat the roots of trees (in a jungle) until death comes to you and you are in this state.
(Muslim 34 hadith 4890)
Here’s the link to read the Hadith in Arabic http://qaalarasulallah.com/hadithView.php?ID=14820