HAMMOND — A Lafayette man was sentenced Wednesday to 25 years in prison for producing child pornography while sexually abusing a teenage girl, U.S. District Court records show.