Generally, hugging between males and females who are eligible to marry each other is considered impermissible (not allowed) in halal dating, as it can lead to further temptations and goes against Islamic principles of modesty and avoiding situations that may lead to immoral acts.
Islamic teachings emphasize avoiding actions that could lead to zina (unlawful sexual relations). The Quran advises believers to not even approach immoralities:
“And do not approach immoralities - what is apparent of them and what is concealed...” (6:151)
Hugging, in this context, is seen as a step that could potentially lead to such immoralities. Halal dating aims to foster a connection based on respect, communication, and shared values, ultimately leading to marriage, while adhering to Islamic guidelines. Physical contact like hugging is usually reserved for within the marital bond. Therefore, maintaining a respectful distance and focusing on emotional and intellectual connection is key in halal dating.