Robin Hood: Men in Tights (1993)
Robin Hood: Men in Tights is a 1993 French-American musical adventure comedy film and a parody of the Robin Hood story. Produced and directed by Mel Brooks, the film stars Cary Elwes, Richard Lewis, and Dave Chappelle in his film debut. The film includes frequent comedic references to previous Robin Hood films (particularly Robin Hood: Prince of Thieves, upon which the plot is loosely structured, Disney's Robin Hood, and The Adventures of Robin Hood).
More at Wikipedia.