A rook pawn on the seventh is the queen's hardest case. Once his king reaches a1, in front of the pawn, he has no move left, so your free move would be stalemate. What wins here is a king close enough to mate: you let the pawn queen and mate him anyway.