Sunan an-Nasa'i, Book 21, Hadith 19 (In-Book) ⓘ
It was narrated from 'Ubadah that the Prophet said: "Whoever loves to meet Allah, Allah loves to meet him, and whoever hates to meet Allah, Allah hates to meet him."
أَخْبَرَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، قَالَ حَدَّثَنَا مُحَمَّدٌ، قَالَ حَدَّثَنَا شُعْبَةُ، عَنْ قَتَادَةَ، قَالَ سَمِعْتُ أَنَسًا، يُحَدِّثُ عَنْ عُبَادَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " مَنْ أَحَبَّ لِقَاءَ اللَّهِ أَحَبَّ اللَّهُ لِقَاءَهُ وَمَنْ كَرِهَ لِقَاءَ اللَّهِ كَرِهَ اللَّهُ لِقَاءَهُ " .
also referenced under: Hadith 1836 (Reference) & Volume 3, Book 21, Hadith 1837 (DarusSalam)