With the clock winding down, Danuel House drove into traffic and missed a contested shot that hit the front of the rim. The ball caromed directly to Davis, who grabbed the rebound and banked in a layup as time expired.
The freshman center finished with 15 points and 12 rebounds.
Anthony Collins missed a shot with 9 seconds left for Texas A&M (20-7, 9-5 Southeastern Conference), and Humphries pulled down the rebound with the Wildcats up by one. But after the Aggies fouled him, he slammed the ball to the court and was whistled for a technical that fouled him out.