He tried to stay overnight in Muzdalifah but was not able to – what is the ruling?
Question

                After the sun set on the day of ‘Arafah, my friend and I set out, each driving a car carrying women and a few men and children, to go from ‘Arafah to Muzdalifah with the other pilgrims. After a portion of the night had passed, but before midnight, we reached Muzdalifah, but they would not let us in to the empty area at the beginning of Muzdalifah… When we reached the middle of Muzdalifah, we could not find empty space, and they expelled us from Muzdalifah. After we left Muzdalifah we were involuntarily separated. My friend went to stone Jamarat al-‘Aqabah and to do Tawaaf al-Ifaadah, since he could not go back to Muzdalifah because he did not know the way back. I followed the roads to Mina, then to Makkah, and thence to ‘Arafah, and we came back to Muzdalifah again at the end of the night, after a lot of exhausting struggle and effort. My questions are: 

1- Do my friend and the people with him have to offer a sacrifice because they did not manage to stay overnight in Muzdalifah although they wanted to – or not?

Does the fact that I spent the night traveling around, with all the difficulties involved, and I did not manage to stay overnight in Muzdalifah as required, and only spent a short part of the night there, mean that I also have to offer a sacrifice?
Praise be to Allah.
    If the matter is as you described, then neither of you has to 
    offer a sacrifice for not staying overnight in Muzdalifah, and neither do 
    the pilgrims who were with you, because you tried your hardest to stay there 
    overnight but you were not able to do so. Allaah says (interpretation of the 
    meanings): 

    “Allaah burdens not a person beyond his scope”

    [al-Baqarah 2:286] 

    “Allaah does not want to place you in difficulty”

    [al-Maa’idah 5:6]

    “So keep your duty to Allaah and fear Him as much as you 
    can”

    [al-Taghaabun 64:14]
But for those who stoned 
    Jamarat al-‘Aqabah and did Tawaaf al-Ifaadah and Sa’ee before midnight, that 
    is not acceptable; they have to repeat the Tawaaf, Sa’ee’ and Ramiy 
    (stoning). There is no set time limit for repeating the Tawaaf and Sa’ee, 
    but they should hasten to do it once they know the ruling. With regard to 
    the Ramiy the one who misses it must offer a sacrifice if he did not repeat 
    it during the four days spent in Mina, the day of ‘Eid and the three days of 
    al-Tashreeq. If it was done after midnight it is acceptable and there is no 
    sin on you for that, in sha Allaah. You will be rewarded for your efforts 
    and for the difficulty you endured. 

    And Allaah is the Source of strength. May Allaah send blessings and peace upon our Prophet Muhammad and his family and 
    companions.