Narrated AbuHurayrah: The Prophet (ﷺ) said: Striving in the path of Allah (jihad) is incumbent on you along with every ruler, whether he is pious or impious; the prayer is obligatory on you behind every believer, pious or impious, even if he commits grave sins; the (funeral) prayer is incumbent upon every Muslim, pious and impious, even if he commits major sins
Hadith No. 2533
Sunan Abu Dawud
Gradings:
Al-Albani:
Daif
Muhammad Muhyi Al-Din Abdul Hamid:
Daif
Zubair Ali Zai:
Daif