Gwyneth Paltrow has agreed to star opposite Michael Douglas in Warner Bros.’ “A Perfect Murder,” sources said. Paltrow will star as Douglas’ wife in the story that is loosely based on the classic 1954 Alfred Hitchcock thriller “Dial M for Murder,” which starred Grace Kelly in the wife’s role.

The project, which will go before the cameras Oct. 13, will be directed by Andy Davis and produced by Arnold and Anne Kopelson, and Peter MacGregor-Scott, along with Chris Mankiewicz.

The story is loosely based on the Frederick Knott play about a husband who plots his wife’s murder and then must try to con his way out as he becomes the lead suspect in a murder plot gone awry. Patrick Kelly scripted.

Paltrow will next be seen in the Mirage/Intermedia production “Sliding Doors,” which is slated to be released this fall by Miramax domestically. She also stars in 20th Century Fox’s “Great Expectations,” scheduled to bow at the end of this year. Her other credits include “Seven,” “Emma” and “Moonlight and Valentino.” She is repped by CAA.