While working with the US-based Indian director, Hamid found that he and Nair share some similar things.
"I really clicked with her as a person. She is someone who comes from the southern Asia and has spent many years here, but has lived abroad for almost half her life. I am the same," Hamid said in a statement.
"The Reluctant Fundamentalist", an adaptation of the 2007 eponymous bestseller, focuses on a young Pakistani chasing corporate success in Wall Street.
However, post-9/11, he finds himself embroiled in a conflict between his American dream, a hostage crisis, and the enduring call of his family's homeland.
Talking about Nair's initiative of filming the movie, Hamid said: "An Indian director making a film about a Pakistani man - that's not an easy thing to do."
Hamid came to the US to study at the Princeton University, after that he lived in London for several years before returning to Lahore. Nair left India to attend the Harvard University, and subsequently moved to the New York.
Starring Kate Hudson, Kiefer Sutherland, Liev Schreiber, Riz Ahmed, Shabana Azmi and Om Puri, "The Reluctant Fundamentalist" is slated to release May 3 in India.