The Messenger of Allah ﷺ said, "A servant does not truly believe until I am more beloved to him than his family, his wealth, and all people."
قال رسول الله ﷺ: لا يؤمن عبد حتى أكون أحب إليه من أهله وماله والناس أجمعين.
Bukhari narrated it in Iman (15), and Muslim in Iman (44: 69), both through Ismail bin Ulaya, from Abdul-Aziz bin Suhayb, from Anas, who related it. The wording given is Muslim's. Bukhari did not present the wording with this chain of transmission.