The win was Maryland's fifth in a row.
The Terps held Scarlet Knights star Ron Harper Jr. to just six points on 1-of-6 shooting.
Ayala and Wiggins combined for 46 points to fuel the Terps' efforts.
The Terps coughed up the ball 17 times Tuesday night, a new season-high.
Smith was a force on both ends of the floor, notching 10 points, five rebounds and two blocks Sunday night.
Four Terps scored in double figures against the Golden Gophers.
“We didn’t guard during that stretch the way we needed to guard.”
The Terps hit just 26.3 percent of their threes Monday night.
Ayala tied a career-high with 23 points, but the Terps failed to make a field goal in the last 7:32 of the game.
Ayala is a steadying presence for an inconsistent Maryland offense.