Anas bin Malik came to Walid bin Abdul-Malik, who asked him, "What did you hear from the Messenger of Allah ﷺ mention regarding the Hour?"He replied, "I heard the Messenger of Allah say, 'You and the Hour are like these two.'"
حدثنا أبو المغيرة حدثنا الأوزاعي
قدم أنس بن مالك على الوليد بن عبد الملك فسأله ماذا سمعت من رسول الله ﷺ يذكر به الساعة قال سمعت رسول الله يقول أنتم والساعة كهاتين
Its isnad is sahih. Abu Mughira is Abdullah bin Hajjaj, and the hadith has already appeared at 12185.