The person contacted the Herald and Fairfax using the identity Rawshark while using the Twitter handle @whaledump to release information publicly.
Hager said five officers came to his Wellington home last Thursday with a search warrant.
He was in Auckland at the time, giving lectures at the University of Auckland.
"Soon after the police arrived, the lead detective stated that I was not a suspect in their case, merely a witness."
Hager's sister Mandy Hager was present at the raid, and described on Twitter last night what took place.
"I observed police as they searched - polite and respectful (and slightly sheepish) - clearly strings pulled from above #dirtypolitics," she wrote.
A police spokesman told the Herald officers had not deliberately waited until after the September 20 election to conduct the search.
"No. This is a purely operational decision based on where our inquiries have led us to date."
In a media statement, a spokesman confirmed police had removed "computers and related items under search warrant from a Wellington address" as part of their ongoing investigation into alleged hacking of Slater's emails.
Hager said he told the detective there was nothing in his house that would uncover the source.
"Nonetheless, he and his four colleagues seized a large collection of papers and electronic equipment belonging to my family, including computers, drives, phones, CDs, an iPod and a camera."
Hager said the search and seizure of the material was a "fishing expedition".
"I am confident that the police took nothing that will help them with their investigation."
Hager said he would not co-operate with the police in any way to reveal the Dirty Politics source - or any other source.
"I believe the police actions are dangerous for journalism in New Zealand.
"It matters to all people working in the media who could similarly have their property searched and seized to look for sources. People are less likely to help the media if the police act in this way.
"The police want people to respect their role in society; they should in turn respect other people's roles in society."
He said he was speaking to his lawyers about challenging the police action.
University of Canterbury media law professor Ursula Cheer said Hager had legal grounds to oppose the warrant or the way it was carried out.
"I think some of his objections could be justified," she said. "I am surprised it took 10 hours and it sounds odd that it needed to be done when he wasn't there."
In a blog post last night, Slater said Hager was the recipient of stolen information and it would be difficult for him to claim journalistic endeavours.
"Journalists call people they write stories about. Journalists give people a right of reply. Journalists tell the whole story, not massaged narratives that suit their politics.
"If my emails were in the public interest to publish then his sources are public interest too. It must cut both ways."
- additional reporting Morgan Tait
Dirty Politics
August 14
Journalist Nicky Hager's book Dirty Politics released, claiming underhand tactics by people within and close to the National Government to bring down their opponents.
Key figures were right-wing blogger Cameron Slater, aka Whale Oil, who was allegedly fed information from senior National Party ministers and staff, including Justice Minister Judith Collins and Prime Minister John Key's senior adviser Jason Ede.
August 18
A person using the identity Rawshark began contacting media and releasing emails and communications obtained from an alleged hack of Slater on Twitter with the handle @whaledump.
August 28
Cameron Slater laid a police complaint about the hack.
August 30
Justice Minister Judith Collins resigned after a leaked email claimed she had undermined Serious Fraud Office chief executive Adam Feeley.
September 19
Jason Ede quit his job at National's Wellington office the day before the Government was re-elected, acording to party HQ.
October 2
Hager's home is searched by police believed to be seeking Rawshark.
Police said anyone with information related to the investigation could contact them, or phone Crimestoppers anonymously on 0800 555 111.