Hadith.3092 - Muawiyah ibn Ammar narrated from Abu Abdullah (as) regarding a man who forgot to slaughter in Mina until he visited the Kaaba, then purchased an animal in Mecca and slaughtered it.
Imam (as) said
"There is no harm; it suffices for him."