Sunan Ibn Majah
3985
Sahih+3

It was narrated from Ma’qil bin Yasar that the Messenger of Allah (ﷺ) said:“Worship during the time of bloodshed is like emigrating to me.”

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi