Shulchan Aruch
The Shulchan Aruch discusses who is fit to blow the shofar on behalf of a congregation: