Which astronaut hit a golf ball on the moon?

Alan Shepard used a modified six iron during the Apollo 14 mission in 1971.

The folding "sampling arm" he used to pick up rocks, had a specially made golf club head that could be screwed on. When he was done, he brought this folding "space golf club" back to Earth, and it was presented to comedian Bob Hope, an avid golfer well beloved by all branches of service.

Alan Shepard, commander of Apollo 14, using a modified 6-Iron, hit two golf balls while on the moon's surface.