According to Islamic belief, all prophets of Allah (SWT) possessed the ability to see jinn.
The Quran mentions the jinn and their interaction with Prophet Muhammad (PBUH). Surah Al-Jinn (Chapter 72) specifically details an encounter where a group of jinn listened to the Prophet reciting the Quran and subsequently embraced Islam. This implies that the Prophet could perceive them.
Furthermore, the referenced information states that Prophet Muhammad (PBUH) was a prophet for all living things, including both humans and jinn, solidifying the understanding that he could see and interact with them. While this reference suggests all prophets could see jinn, the primary example and scriptural basis centers on Prophet Muhammad (PBUH).