The holy prophet said, if the people in the whole world after me. Since they didn’t used to know Imam Ali(a.s) and they were with their own prophets and they were believers and they would face salvation. If the people of all continents unanimously agreed to love Imam Ali (a.s)Allah Almighty wouldn’t create the hell.
source : erfan.ir