Hadith 8:906
Abu Bakr narrated to us, he said: Ghundar narrated to us, from Shu'bah, from al-Hakam, regarding a man who says: "On the day such-and-such happens, I am [obligated] to perform Hajj." He said: If he performs Hajj with the people, it suffices for him.
حدثنا أبو بكر قال حدثنا غندر عن شعبة عن الحكم في الرجل يقول يوم يفعل كذا وكذا فأنا بحجة قال إذا حج مع الناس أجزأ عنه