The Prophet (ﷺ) forbade Muzabana and Muhaqala.

Sahih al-Bukhari Book 34, Hadith 134