British actor Luke Treadaway enlisted his real-life neighbour Law to co-star with him in the special production, while Mirren, Smith, Skyfall's Ben Whishaw and Sherlock star Andrew Scott appeared in video clips during the West End gala.
Treadaway was inspired to spearhead the benefit for autism charities after playing a teenager with the disorder in U.K. stage show The Curious Incident of the Dog in the Night-Time.
He tells the London Evening Standard, "Jude and I hadn't practised before Sunday but we rehearsed for two hours... in his garden. Everyone has been so lovely to come and do this, I couldn't have asked for a better reaction."
Law, who personally handed over $15,500 (£10,000) to the event, adds, "I'm just here to enjoy the show. I'm doing it because Luke asked me to."
Rocker Chris Martin matched Law's donation, and brought the evening at the Apollo Theatre to a close by performing Coldplay hits Viva la Vida and Paradise.
A Curious Night at the Theatre generated more than $155,000 (£100,000), which will go towards the U.K. organisations Ambitious about Autism and The National Autistic Society.