It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Any child who performs Hajj and then reaches puberty must perform another Hajj. Any Bedouin (a'rabi) who performs Hajj and then emigrates must perform another Hajj. And any slave who performs Hajj and is then set free must perform another Hajj."
Related hadith on this topic