'Ubadah bin As-Samit narrated that the Messenger of Allah (s.a.w) said: "Whoever loves to meet Allah, Allah loves to meet him. Whoever is averse to meeting Allah, Allah is averse to meeting him".
The Prophet Muhammad ﷺ taught his followers about the importance of having faith in God and striving for closeness with Him through acts of worship such as prayer, fasting, charity etc., which are all ways in which one can show their love for God and gain His pleasure in return. Furthermore, this hadith reminds us that even though we may not always feel close or connected with God at times due to our own shortcomings or sins, He still loves us unconditionally and is always willing to forgive us when we turn back towards Him sincerely seeking repentance from our mistakes.