You need to delete the "linked" WhatsApp contact in your address book.
Here is how to do it on a Samsung phone:
Open the Samsung contacts app.
Find the contact.
Rename the contact name there.
Press the hamburger menu button, and press "Add/remove linked contacts".
Press "Unlink" next to the WhatsApp linked contact entry
Go back to the list of contacts in ...
WhatsApp will first search for your logged in account and look for any WhatsApp backup files in your Google Drive with the same phone number. If you’d like to prevent WhatsApp from backing up using your Google account, simply delete the WhatsApp backup folder (instead of logging out your Google account from your device).
If your local “msgstore.db.crypt12” ...
You can reach you installed gallery from within WhatsApp by either longpressing the "gallery"-button within the attachement-menu or by clicking it, then clicking the three dots in the upper right corner.
Old Answer with the assumption, that you were asking for WhatsApp-Favorites:
The starred messages are no seperate folder in the gallery, but a list within ...
you can try to change the settings Sound->Earphone mode->Notification ringtone in earphones to never. Downside: you won't get any notifications on your Headset anymore.
I hope it helps.
Edit: This setting is available in OxygenOS if anyone else is facing this problem