Whoever delays stoning the Jamaraat on the eleventh day of Dhu’l-Hijjah until night comes – and delays it for a legitimate shar’i reason – and stones the Jamaraat at night, does not have to do anything to expiate for that.
Similarly if a person delays the Ramiy (stoning of the Jamaraat) on the twelfth day and does it at night, that is acceptable and there is no sin on him, but he has to spend that night in Mina and do the Ramiy on the thirteenth day after noon, because he did not do it on the twelfth day before the sun set. But to be on the safe side he should try to do the Ramiy during the day in the future.
And Allaah is the Source of strength. May Allaah send blessings and peace upon our Prophet Muhammad.