Answer
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
A Muslim is not to be blamed for having chaste involuntary love and mere good feelings he/she has towards another person of the opposite sex.
Answering your question, Dar Al-Ifta Al-Misriyyah, states:
A Muslim is not to be blamed for developing chaste involuntary love and the mere good feelings towards another person of the opposite sex.
Love is one of the most sublime feelings that all beings share. The Prophet (peace and blessings be upon him) used to describe his love to his beloved wife lady Khadijah (may Allah be pleased with her) as “I was nourished by her love”.
However, it is forbidden for a Muslim before marriage to follow it up with prohibited actions either by words or deeds.
The unlawful relationship that one inflames through immoral words or actions is deemed unlawful in Islamic law, and it is impermissible for a man and a woman to have a relationship outside marriage.
The love of God the Almighty and His Messenger is incomparable to any other love because they occupy different status.
Almighty Allah knows best.
Source: www.dar-alifta.org