Prophets Sent To The Rest Of The World
Qur’an has told us that the people will be judged with their innate consciousness of God. See verse 7:172-173, and their innate conscuousness of good and bad, see verses, 91: 7-8. The prophethood is a favour God made with the people to make them realize that they will definitely be answerable to their God. The people who received the divine message will be judged according to their knowledge and those who did, according to their knowledge. So everyone is having a test according their their credentials. The prophets of Ad and Thamud were before prophet Ibrahim.
Please also refer to the video below from 34:36 to 38:24 https://youtu.be/KgwrKy8_PU8?t=2076