Rajapaksa said such a move would certainly be perceived as interference with the campaign for the April 8 general election, the statement said.
"President Rajapaksa reiterated that any appointment of such a panel as intended would compel Sri Lanka to take necessary and appropriate action in that regard."
Rights groups and Western governments are pressing for some kind of accountability for thousands of civilian deaths in the last months of the island's 25-year war against the Liberation Tigers of Tamil Eelam (LTTE), which aimed to create a separate homeland for the island's Tamil minority.
Rights groups have accused Sri Lanka and the LTTE of war crimes during the conflict's final phase and they have demanded an independent probe of the allegations, as has U.N. special rapporteur for extrajudicial executions Philip Alston.
It was not clear if Ban's expert panel would go as far as human rights groups would like.
The Sri Lankan government has denied charges of deliberately targeting civilians and other human rights breaches. The government declared victory over the Tamil Tigers in May 2009.
On Thursday, the top U.N. human rights official said human rights abuses in Sri Lanka are damaging prospects for reconciliation after 25 years of civil war.