Rise above partisan politics in national interest and decide what is necessary for the welfare of people, President Ram Nath Kovind urged political parties during his farewell address on Saturday.
Terming parliament a "temple of democracy", President Kovind urged parties to use Gandhian philosophy during debates in the house.
"MPs should always follow Gandhian philosophy while exercising rights of debate and dissent in Parliament," he said.
Vice President M Venkaiah Naidu, Prime Minister Narendra Modi and Lok Sabha Speaker Om Birla joined a ceremony at parliament's Central Hall to bid farewell to President Kovind.
President-Elect Droupadi Murmu, a woman from the tribal community, will take oath as the 15th President of India on Monday.
"I heartily congratulate Droupadi Murmu for being elected as next President, country will benefit from her guidance," said outgoing President Kovind.