Hadith
حَدَّثَنَا سَعِيدُ بْنُ مَنْصُورٍ، وَقُتَيْبَةُ بْنُ سَعِيدٍ، وَمُحَمَّدُ بْنُ عُبَيْدٍ الْغُبَرِيُّ، - وَاللَّفْظُ لِسَعِيدٍ - قَالُوا حَدَّثَنَا أَبُو عَوَانَةَ، عَنْ قَتَادَةَ، عَنْ زُرَارَةَ بْنِ أَوْفَى، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم
إِنَّ اللَّهَ تَجَاوَزَ لأُمَّتِي مَا حَدَّثَتْ بِهِ أَنْفُسَهَا مَا لَمْ يَتَكَلَّمُوا أَوْ يَعْمَلُوا بِهِ "
It is narrated on the authority of Abu Huraira that the Messenger of Allah (ﷺ) observed:
Verily Allah forgave my people the evil promptings which arise within their hearts as long as they did not speak about them or did not act upon them.
Sahih Muslim 127 a
In-book : Book 1, Hadith 238
USC-MSA web (English) : Book 1, Hadith 230 (deprecated)
Sahih Muslim
As long as its in your thought you are excused
You should do dhikr(remberence of Allah) to save yourself from these thoguhts plus
You should greet your relatives and gave them gifts which increase love between you two plus removing these thoghts completly