Kourtney Kardashian and Scott Disick Spend the Weekend Focusing on Family

Getty Images

Scott and Kourtney had a busy weekend.

It was a busy weekend for Kourtney Kardashian, who spent most of her time with her three kids and her ex, Scott Disick.

Scott checked out of rehab on Wednesday after spending a month at a facility in Malibu, California, and it looks like he's trying to get back into the good graces of the mother of his three children -- Mason, 5, Penelope, 3, and Reign, 10 months.

On Friday, Scott and Kourtney were spotted together for the first time since their split in July, while attending a party celebrating the release of celebrity pastor Rich Wilkerson Jr.'s debut book, Sandcastle Kings, according to TMZ.

WATCH: EXCLUSIVE! Scott Disick Checks Out of Rehab After One Month

Celebrities Justin Bieber and Patrick Schwarzenegger also attended the star-studded event, but all eyes were on the former couple.

On Saturday, the 36-year-old reality star started her day off with a super sweet snapshot of herself and daughter Penelope, which she posted to Instagram with the caption: "Morning cuddles."

WATCH: Kourtney Kardashian Flaunts Her Amazing Bikini Bod While Scott Disick Spends 'Boy Time' in Mexico

Later that day, Kourtney attended the Baby2Baby Gala in Culver City, California, where she looked happy and healthy in a classy, cream-colored pantsuit.

Getty Images

On Sunday, Kourtney's split from Scott played a big part on the season 11 premiere of Keeping Up With the Kardashians. In the episode, Kourtney opened up about their plans to co-parent, explaining, "I told Scott that he can come over to see the kids. We're trying the best that we can to be a team while living apart."

Scott also spent time with the Kardashian-Jenner family on Sunday, having lunching with Kendall Jenner.

WATCH: EXCLUSIVE! Scott Disick Gets a Visit in Rehab From Kris Jenner and His Kids, But Not Kourtney Kardashian

An eyewitness tells ET that Scott and Kendall sat together for a meal at Il Pastaio in Beverly Hills, California. They both dressed casually for lunch, and went largely unnoticed. The two looked happy and relaxed as they dined.

Scott has been making the rounds since his release from rehab, spending time with various members of the family. On Thursday, Scott and Kris Jenner were spotted enjoying a sushi dinner with a friend at Nobu in Malibu. Here's a look at Scott's night out, post-rehab.