let us pay attention to what is written in al-ihsan ba tarteeb sahih ibn haban,

it says:-

“mawia narrated that holy prophet asws said that whosoever dies, and he has no imam, he dies death of ignorance”

[al-ihsan fi taqreeb sahih ibn haban, sheikh shoaib ul arnawit, vol 10, page 434, narration 4573]

sheikh shoaib terms it

“hadeeth sahih”

let us see the scan