Ma'qil bin Yasar (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, "The reward of worship performed at a time of trials is equal in reward to an emigration to me."[Muslim].
App reference: Book 12, Hadith 82
Arabic/English book reference: Book 12, Hadith 1366