Muhammad, a resident of Kofar Fada in Rogo Local Government Area of Kano State, was rescued by the police and Human Rights Network on Thursday.
The victim was said to have been chained due to his mental illness.
Muhammad said he was happy to be freed.
Comrade AA Haruna Ayagi, Executive Director of Human Rights Network, said Muhammad was 25 years old when he was locked up in the house.
The development comes four days after the police rescued Ibrahim Lawan, a man held captive by his father for 15 years in the same city.