Ahl Kitaab/mushrik
The Quran talks about ahl dhikr referring to ahl kitaab about prophets coming as men. They were acquainted with prophethood it seems. That’s our point- by definition of itmaam e hujjah the Jews and Christians knew they were doing shirk.