Surveillance videos show a pioneering judge wandering around Harlem for hours before she was found floating in the Hudson River, police sources said Wednesday — as her grieving husband insisted she didn’t commit suicide.

One video shows Court of Appeals Judge Sheila Abdus-Salaam several hundred feet from the river, and the final clip — recorded around 12:30 a.m. April 12 — meshes with the estimated 12 hours her body spent in the water, sources said.

At least six surveillance cameras captured Abdus-Salaam, the first African-American woman to serve on the state’s highest court, walking alone with no one following her, sources said.

Meanwhile, in a statement posted online, Abdus-Salaam’s widower, the Rev. Gregory Jacobs, blasted unspecified “media outlets and others” that “have conjectured that Sheila was the victim of a ‘probable suicide.'”

“These reports have frequently included unsubstantiated comments concerning my wife’s possible mental and emotional state of mind at the time of her death,” Jacobs said.

“Those of us who loved Sheila and knew her well do not believe that these unfounded conclusions have any basis in reality.”

“And in the absence of any conclusive evidence, we believe such speculations to be unwarranted and irresponsible,” he added.

Jacobs — who neighbors said lives in Newark, N.J., and was visited there by Abdus-Salaam on weekends — didn’t return messages.

The Episcopal Diocese of Newark, where Jacobs works as a top aide to Bishop Mark Beckwith, said he was out of town.

A special contingent of cops found the surveillance videos late Tuesday after the NYPD ramped up the probe into Abdus-Salaam’s death, as The Post exclusively reported earlier in the day.

The videos were recorded at various locations between 131st and 141st streets, and all show Abdus-Salaam, 65, wearing the same clothing as when she died, sources said.

The Post spotted detectives scouring the block around her home at 113 W. 131st St. on Tuesday night.

The last person known to have seen Abdus-Salaam alive is a deliveryman who handed her a package at her home on the morning of April 11, sources said.

She was reported missing around noon the next day by her husband, after he got a call saying she hadn’t shown up at work, sources have said.

Abdus-Salaam’s body was found in about three feet of water near 132nd Street around 1:45 p.m. April 12.

An autopsy found water in Abdus-Salaam’s lungs, suggesting she was alive when she went into the river, sources have said, but the Medical Examiner’s Office has yet to determine the cause and manner of her death.

Additional reporting by Alex Tayor and Joe Marino