The How I Met Your Mother star is close to signing a deal to star in the upcoming movie, reported Deadline.

Tyler Perry, Kim Dickens, Patrick Fugit and Carrie Coon are also joining the film, which is being directed by David Fincher.

Ben Affleck and Rosamund Pike are already on board to play the main characters in the movie, which follows a man whose life spirals out of control when his wife disappears on their fifth wedding anniversary and people start to think he killed her.

Tyler is to play the lawyer who represents Ben's character, while Carrie will play his twin sister.

Neil is tipped to star as the wife's former boyfriend, and Kim and Patrick will play detectives.