Demi Moore has reportedly reached out to Madonna to console the singer after she lost custody of her teenage son.

The 57-year-old pop star has seemingly been hit hard by the court's verdict that her 15-year-old boy Rocco will be staying in London, U.K., with his father Guy Ritchie. During recent gigs for her Rebel Heart tour Madonna shocked fans by turning up hours late, sometimes intoxicated, and she even exposed a 17-year-old fan's breast on stage.

Rocco is said to have cut is mother off from his social media pages too. Amid Madonna's woes, close pal Demi has apparently shared some pearls of wisdom with the star. She went through a similar situation with daughters Rumer, 27, Scout, 24, and Tallulah, 22, in 2012 when they were said to have taken out a restraining order.

"Demi's been messaging Madonna and told her she hasn't lost Rocco forever, he's just going through a difficult teenage phase," an insider told Britain's Closer magazine. "But she's begged her to stop acting out in public and sharing her anguish online as it's only pushing Rocco further away.

"Demi has invited Madonna to the Amansala yoga and meditation retreat in Mexico, which she visited after her meltdown over Ashton (Kutcher, who Demi split from in 2012). It's a packed schedule of beachside yoga, Pilates, chanting and meditation, as well as reiki and acupuncture for stress relief, all organic food and no alcohol."

Madonna's other ex-husband, Hollywood star Sean Penn, is also said to have got involved with lending supporting to his former spouse. However, the singer is thought to have other plans as a source notes she's considering moving to London to be closer to her son. The insider adds Madonna hopes this will make her closer to Rocco, and bring the family together as a whole, including her other kids Lourdes, 19, and adopted son David, 10, and daughter Mercy, 10.