Sahih Muslim
2948.01

Ma'qil b. Yasar reported Allah's Apostle (ﷺ) as saying:Worshiping during the period of widespread turmoil is like emigration towards me

2948.02

The previous hadith is narrated through Abu Kamil from Hammad with the same chain