Quran states that God sent prophets to jinns just like humans.
Allah will ask,˺ “O assembly of jinn and humans! Did messengers not come from among you, proclaiming My revelations and warning you of the coming of this Day of yours?” They will say, “We confess against ourselves!” For they have been deluded by ˹their˺ worldly life. And they will testify against themselves that they were disbelievers. [6:130]
Further, it seems to suggest Prophet Muhammad (pbuh) was also a messenger/prophet for jinns, not just humans.
Say, ˹O Prophet,˺ “It has been revealed to me that a group of jinn listened ˹to the Quran,˺ and said ˹to their fellow jinn˺: ‘Indeed, we have heard a wondrous recitation. It leads to Right Guidance so we believed in it, and we will never associate anyone with our Lord ˹in worship˺. [72:1-2]
However, I wasn't able to find any more references in the Quran that talks about the prophets of jinns. Given that, did God send prophets to jinns before Prophet Muhammad (pbuh)? If yes, do we know anything about these prophets? If no, can we conclude that Prophet Muhammad was the first prophet who had been sent to both humans and jinns?