Rosie O’Donnell’s “affair” with married former Broadway actress Dana Caruso Schiff is causing problems in Dana’s divorce with her husband, investment banker David “Scott” Schiff.

Sources say there is a custody battle over Dana and Scott’s two children, aged around 6 and 8, because Scott is “concerned about them being around Rosie,” according to a source, who added that his concern comes from Rosie’s troubled relationship with her daughter Chelsea, who recently accused the star of being verbally abusive and nearly attacking her with a wine bottle.

Rosie reportedly has been dating Dana for at least six months. The pair are longtime friends and Rosie is godmother to Dana’s daughter, Plum.

Dana and Scott were married in 2003, and their wedding was covered by the New York Times. She had appeared on Broadway in “Annie Get Your Gun” and toured with “Les Misérables” and “Cats” but later became a full-time mom.

According to reports, Scott became suspicious of Dana’s friendship with Rosie last year. “Dana’s late-night escapades became so frequent that even their [Upper East Side] building’s doormen began to suspect that she was having an affair,” RadarOnline reported. “[Dana] stopped wearing dresses, and cut her hair short. I think she was trying to look different because of her new relationship with Rosie.”

Dana was with Rosie — a longtime President Trump nemesis who slammed him on Twitter on Thursday as a “sadistic man” after he trolled her — at dinner at Nobu the night she met Ivanka Trump last October.

Scott filed for divorce in March 2016. He is a partner at BCS Wealth Management in Atlantic Highlands, NJ. He is on the board of the Wildlife Conservation Society and a descendant of Jacob Schiff, a New York banker and philanthropist.

A source close to Rosie insisted, “Rosie and Dana have been friends for [more than] a dozen years, Dana and Scott have known Rosie’s daughter Chelsea since she was 7. There’s no truth to any of the other claims here.”

A rep for Rosie declined to comment.

Attorneys for Scott didn’t comment, and Dana’s lawyers didn’t get back to us.