Ibn al Qayyim al Jawziyyah (rahimahullah) mentions in regards to unlawful love before marriage (i.e. haram sexual relations, or love for someone who you are unable to marry).
"And the cure for this deadly illness (i.e. unlawful love before marriage) is for the person that is afflicted to realise that this love is only due to his/her own delusions and ignorance.
So upon such a person is to first and foremost strengthen their Tawheed and reliance upon Allah, and secondly to increase in worship and busy themselves with it, so much so that they do not have any spare time letting their minds wander and think about their beloved.
And they should call upon Allah to protect them and save them from this evil, just as Prophet Yusuf called upon Allah and he was saved. And they should do as he did, be as he was, in terms of ikhlaas (sincerity) and remembering Allah in abundance.
This is because if the heart is filled with ikhlaas for the sake of Allah, there will be no space left for any unlawful love to be present, rather this only happens to a heart that is empty and has no ikhlaas whatsoever.
And let such people remind themselves that whatever Allah has decreed for them is only in their own best interests, and when Allah commands something it is never to cause harm or misery to His slaves.
And let them also remind themselves that their unlawful love does not benefit them, neither in this world or the hereafter! As for this world then they will be so preoccupied with their love that it will cripple them and will cause them to live in a fantasy world. And as for the hereafter then it will cause them to be preoccupied with the love of the creation instead of love for the Creator!
These people need to be reminded, that the one who is submerged in something will never see it’s ill effects, neither will the person who has never experienced such things. The only people who will be able to relate to them are those who have experienced the same thing but have been saved. Such people can look back and realise how evil it is.”
When Umar bin al-Khattab radi allahu `anhu (may God be pleased with him) was walking in the market, he passed by a man who was supplicating, “O Allah, make us of Your ‘few’ servants! O Allah make us of Your ‘few’ servants!”
So ‘Umar said to him, “Where did you get this du`a’ (supplication) from?” And the man said, “Allah in His Book says ‘And few of My servants are grateful.’(Qur’an 34:13)” So ‘Umar wept and admonished himself, “The people are more knowledgeable than you, O Umar! O Allah make us of Your ‘few’ servants.”
Sometimes when you advise someone to leave a sin, they respond with “But most people do it, it’s not just me!” But if you look for the words “most people” in the Qur’an, you will find that most people “do not know” (7:187), “do not give thanks” (2:243) and “do not believe” (11:17). And if you look for “most of them”, you will find that most of them are “defiantly disobedient” (5:59), “ignorant” (6:111), “turning away” (21:24), “do not reason” (29:23), and “do not listen” (8:21).
So be of the “few”, whom Allah says about them:
“And few of My servants are grateful.” (34:13)
“But none had believed with him, except a few.” (11:40)
“In the Gardens of Pleasure, A [large] company of the former peoples, And a few of the later peoples.” (56:12-14)
Ibn al-Qayyim (rahimahullah) said, “Go on the path of truth and do not feel lonely because there are few who take that path, and beware of the path of falsehood and do not be deceived by the greatness of the perishers.”
:مرَّ قوم براهب في دير فقالوا له : متى عيد أهل هذا الدير ؟ قال
يوم يغفر لأهله .
ليس العيد لمن لبس الجديد ، إنما العيد لمن طاعاته تزيد .
ليس العيد لمن تجمل باللباس و الركوب ، إنما العيد لمن غفرت له الذنوب .
في ليلة العيد تفرق خلق العتق و المغفرة على العبيد .
فمن ناله منها شيء فله عيد و إلا فهو مطرود بعيد .
((في ” لطائف المعارف ” ( 1 / 299 )