Hadith.3003 - Abdullah ibn Sinan narrated from Imam (as) regarding a man who left Muzdalifah (Jam') for Mina but encountered an issue and did not stone the Jamarat until the sun had set.
Imam (as) said
"He should perform the stoning twice the next morning: once early in the morning for the previous day and again at the time of noon for the current day."