Justin Bieber and Selena Gomez have been hanging out together.

The 'Sorry' hitmaker and the 25-year-old singer have been on sour terms since they ended their relationship two years ago, but it looks like the pair have finally buried the hatchet and are ready to be friends again after they were spotted spending time together at the brunette beauty's home in Studio City, California, over the weekend.

According to TMZ, the 23-year-old hunk arrived at Selena's home in his white G-Wagon on Sunday night (22.10.17) before the former Disney star turned up 10 minutes later.

The duo - who dated on and off from 2011 until 2015 - weren't alone at the property as some of their mutual friends joined them before everyone left around midnight.

Justin - who initially had trouble moving on from Selena - reportedly reached out to his former flame after he found out that she'd undergone a kidney transplant in June.

However, although they are now spending time together, there's nothing romantic between them and Selena's boyfriend The Weeknd - who is currently on tour - is fully aware that they have reconnected in recent weeks and are happy for them to hang out.

Selena and The Weeknd - whose real name is Abel Tesfaye - began dating at the beginning of this year but didn't go public until May when they attended the Met Gala.

The 'Can't Feel My Face' hitmaker and the 'Bad Liar' singer have been inseparable ever since and The Weeknd was the ''biggest support'' while she underwent surgery.

A source said recently: ''Abel has been one of her biggest supports. She had been traveling with him on his tour and he was off during her surgery and right after during her recovery. He's been very caring and it's meant a lot to her to have him by her side.''