Riyad as-Salihin, Book 12, Hadith 1366 (In-Book)

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].

عن معقل بن يسار رضي الله عنه قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏:‏ ‏ "‏العبادة في الهرج كهجرة إلي‏" ‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

sunnah.com