It is always a crazy and painful experience when someone you love leaves. The pain is worth more than someone dying as you know that the one who died did not choose to leave you and is clearly not coming back. However, this person that has left you is alive and has chosen to leave you. You are not sure if this person will ever intend to come back.
You have been told that this painful experience should be taken as a blessing in disguise. Allah warns you that your heart will never be sound as long as there is someone from the opposite sex, who is illegal for you, haram for you in your life. If there is any degree of free mixing, surely your heart will never be sound.
Think. If you put your love on a Prada bag, or a Ferarri, or on anyone, no matter how good looking this person is, your love is only there as long as that thing or person that you love is there. Your love is dependent on that thing or person being in your life.
Remember. All of God`s creations may come to an end. All things will eventually and absolutely leave you. The great love you have for the creation will always be temporary. You have been destined for heartbreak.
But if you put all your love in someone that will never leave you, in a being that will be with you in the depths, in the nights, in the darkest deepest hole, in any corner in the world, your love will be with you always and forever.
Put your love in the The Source, The Creator. If you put your love in Allah, you will find that there is no overwhelming pain that you would experience.
You would recognize that if you are put in a calamity, it will be served by the name of Allah. If it kills you, you will be sent to Allah. If they put you in prison, it gives you more one on one time with Allah. If it lets you exile to the land far away, it gives you time to ponder and reflect on the vast creation of Allah, the one that you love.
Replace the love you have for this person with the love of Allah. Fill your heart with the love that stays with you forever.
Having a pious husband/wife is one of the best things you could ever have in this life, but it is not something that should give you so much pain and grief. When he/she moves on, you also move on.
Do you think in this time, you will never find someone better than this person who has left you? It is the trick of Shaytan to make you think that you are not going to find someone more good looking, nicer, someone who will accept you in x, y, and z.
Bear in mind that it is not difficult for Allah, the Creator of all Heaven and Earth, in a twinkling of an eye, to give you the man/woman of your dreams. It is that easy for Allah.
If you want to have a good spouse: good looking, caring, modest, responsible, loving man/woman, remember that the good is for the good and the bad is for the bad.