Madonna donated Pfund12 million to help children in the poverty-stricken African state of Malawi before being granted permission to adopt a second child from the country, it has been reported.
The country's Supreme Court of Appeal overturned a previous ruling that stopped the pop star from taking four-year-old Mercy James to the United States.
The 50-year-old singer said she was ecstatic with the news and added: "My family and I look forward to sharing our lives with her."
Madonna learned of the development in a 3am phone call from her lawyer in Malawi.
Alan Chinula rang her in New York after the supreme court overturned the previous ruling.
Speaking from outside the court, Mr Chinula, said: "I was just through to New York and it is the early hours but Madonna has been awake waiting for news. She was ecstatic.
"I'm now waiting for instructions to start preparing for Mercy's travel arrangements."
The Daily Mirror reported on Saturday that the singer has donated Pfund12 million to fund six orphanages in Malawi as well as paying for shoes, clothes, books and mosquito nets for impoverished children in the country.
Madonna has already adopted her three-year-old son named David Banda from Malawi.