It is usually very simple:
The person who hit behind didn't keep enough distance therefore hit the car in front of him.
Conclusion: Its his fault.
Car Insurance: Where was the agent/representative of your friend's car insurance?
Didn't he call them at the time of the incident? If he didn't. That's his first mistake!
I hope he didn't sign anything there.
The hitting car had no insurance? Do you mean he had only Compulsory insurance ('Porabo') or even this he didn't have?
Anyway, you are saying the guy don't have a driving licence at all so that makes him again in the wrong side!
Tell your friend to advice with his Insurance, maybe he will need to fill report in the police station.
Update us about this case. It is very interesting for all of us to hear.