Islam does not allow intermingling with the opposite gender. Allah D has placed a natural inclination for members of the opposite gender for each other. It is surely a great blessing of Allah Dthat the Shari’ah of Islam has put laws of precaution in place. Besides the unlawful crimes and sins outlined in Shari’ah, Allah D also forbids acts which lead to sins. For example, when interest became forbidden, all affairs involving interest became forbidden as well. Similarly, any unnecessary contact, conversation, gazing at, and avoidable instances of mixing with the opposite gender are forbidden. The sexual instinct is one of the greatest weaknesses of human beings, especially in this time of fitnah (trials and tribulations). When any of the abovementioned acts are committed, it ignites the fire of temptation which in many cases leads to major sins such as zina (adultery, fornication). This is why these acts are considered to be a minor form of zina.
Allah D has given us a warning in the Quran by saying:
“وَلَا تَقْرَبُوا الزِّنَا إِنَّهُ كَانَ فَاحِشَةً وَسَاءَ سَبِيلًا“
And do not go even close to fornication. It is indeed a shameful act and an evil way to follow”. (17:32)
In this verse, Allah D did not just say “Do not fornicate”, but He said, “do not even go close to it” meaning do not do things which may lead to adultery or fornication as Shaitan is quick to mislead the believers. Zina has become widespread in our present time, and this is one of the minor signs of Qiyamah. In conclusion, Allah D has made Islam so perfect that He has forbidden many acts which can lead to major sins. Intermingling between men and women will undoubtedly lead one to sin at some point or the other, which is why it is forbidden.
You must not take part in such a Walimah. Those who obey the orders of Allah D will surely be rewarded on the day when only one’s deeds will matter. We ask Allah D to keep us on the correct path and to give us the ability to fulfill His injunctions upon us.