HAKIM 2371:
from Zayd b. Khālid al-Juhanī —
[Machine] The translation of the given Arabic text is: The Messenger of Allah ﷺ said, "Whoever gives shelter to a lost person, he himself remains lost until he shows them the way (i.e., helps them find their way)." This narration has an authentic chain of narrators, and it has not been included in Sahih Bukhari.
الحاكم ٢٣٧١:
عن زيد بن خالد الجهني —
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ «مَنْ آوَى ضَالَّةً فَهُوَ ضَالٌّ مَا لَمْ يُعَرِّفْهَا» صَحِيحُ الْإِسْنَادِ وَلَمْ يُخَرِّجَاهُ صحيح
hadithunlocked.com