The Prophet (may Allah's peace and blessings be upon him) guided to worship and adherence to it during times of chaos, killing, and turmoil. He clarified that the reward for such worship is like that of emigration to the Prophet (may Allah's peace and blessings be upon him), as people are often heedless of worship and distracted from it, and only a few dedicate themselves to it.
Lessons
Encouraging worship and the act of turning towards Allah during times of trials as a means of protection from trials and preservation from corruption.
Highlighting the merit of worship at times of trials and heedlessness.
A Muslim must avoid places of trials and heedlessness.
Explanation in Arabic
أَرْشَدَ النبيُّ صلى الله عليه وسلم في زمن الهَرْج والفتنة والقتل واختلاط أمور الناس إلى العبادة والتمسك بها، وأنّ أجرها كهجرة إلى النبي صلى الله عليه وسلم، وذلك لأن الناس يغفلون عنها، ويشتغلون عنها، ولا يتفرغ لها إلا أفراد.
الحث على العبادة والإقبال على الله تعالى أيام الفتن؛ تَحَصُّنًا من الفتن، وحِفْظًا من الفساد.
Ma‘qil ibn Yasār (may Allah be pleased with him) reported that the Prophet (may Allah's peace and blessings be upon him) said: "Worship during times of turmoil is like emigration to me.”
عن معقل بن يسار رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : «العِبَادَة في الهَرْجِ كَهِجْرَةٍ إليَّ».
Narrated by Ma‘qil ibn YasārExplained
Also reported by… (16)
أحاديث عفان بن مسلم (146)الْعِبَادَةُ فِي الْهَرَجِ كَهِجْرَةٍ إِلَيَّ