Tracy Morgan is in talks to play Redd Foxx opposite Mike Epps in the Richard Pryor biopic for the Weinstein Co. with Lee Daniels directing.

“Mr. Foxx, I hope I do you justice!” said Morgan in a statement. “It will be an honor to portray an icon.”

Foxx was best known for raunchy comedy “party albums” in the 1950s and 1960s, and starred for six seasons in the sitcom “Sanford and Son” from 1972 to 1977. Pryor broke into the business in the early 1960s and had become the top stand-up comedian in the business by the early 1970s.

Foxx and Pryor both appeared in Eddie Murphy’s 1989 movie “Harlem Nights.”

Other cast in the untitled Pryor project include Kate Hudson as Pryor’s wife, Taraji P. Henson and Murphy as Pryor’s parents and Oprah Winfrey as Pryor’s grandmother who raised him.

Morgan returned to “Saturday Night Live” as host on Oct. 17, more than a year after being seriously injured in a car accident on the New Jersey Turnpike. He’s also in New Line comedy “Fist Fight” with Ice Cube and Charlie Day.

Morgan is repped by CAA and Hansen Jacobson.