The closest thing I have found are these hadiths
Abu Umayyah ash-Sha'bani said: I asked AbuTha'labah al-Khushani: What is your opinion about the verse "Care for yourselves".
He said: I swear by Allah, I asked the one who was well informed about it; I asked the Messenger of Allah (peace_be_upon_him) about it.
He said: No, enjoin one another to do what is good and forbid one another to do what is evil.
But when you see niggardliness being obeyed, passion being followed, worldly interests being preferred, everyone being charmed with his opinion, then care for yourself, and leave alone what people in general are doing; for ahead of you are days which will require endurance, in which showing endurance will be like grasping live coals. The one who acts rightly during that period will have the reward of fifty men who act as he does.
Another version has: He said (The hearers asked:) Messenger of Allah, the reward of fifty of them?
He replied: The reward of fifty of you.
Daif(Weak) By Albani
Ma'qil bin Yasar (May Allah be pleased with him) reported: The Messenger of Allah (PBUH) said,
"The reward of worship performed at a time of trials is equal in reward to an emigration to me."
Ma'qil bin Yasar narrated that the Prophet(s.a.w) said:
"Worship during Al-Harj is like Hijrah to me."