During the general elections held in 2008, Hashmi successfully defended the NA-55 (Rawalpindi-VI) constituency where he notably defeated PML(Q)'s Rashid Ahmed but decided to retain his NA-148 Constituency against the wishes of Nawaz Sharif. He spoke against of the strategic partnership act offered by the United States, and released a very strong reaction on Inter Services Public Relations, which he termed the Kerry-Lugar Bill, an interference on part of Americans in country's intelligence community. He reported quoted: "if there is anything that needs to be corrected, Pakistan will do it herself. Pakistan Army should stay within its limits,... We will protect our military if it ensures playing the role assigned to it." Over the issue of the Memogate scandal that implicated the former President Asif Ali Zardari and Parliament's failure for its investigation, Hashmi reportedly Hashmi submitted his resignation from Parliament, claiming that "this parliament is a dummy and not passing real legislation" on 7 May 2011.
