from his master; because Hajj is waived for a slave due to his lack of financial means and because of his master’s right. Thus, if his master provides him with the funds and gives him permission, he is legally accountable, mature, and sane, so his Hajj suffices for him.
I do not have a preferred view on this issue, for the reasoning that he is not qualified for the obligation of Hajj is strong, while the reasoning that he was only prevented because of his master’s right is also strong. The basic principle is that he is subject to acts of worship.
There is a hadith on this matter: “Whoever performs Hajj and is then set free must perform another Hajj; and whoever performs Hajj as a child and then reaches puberty must perform another Hajj.” (1)
However, its authenticity and its use as evidence are disputed. Were the hadith authentically traced back to the Messenger, peace and blessings be upon him, it would be decisive. Yet many hadith scholars held that it is a statement halted at Ibn Abbas, rather than one traced back to the Prophet, and I remain undecided on this matter.
His statement, “and insanity and childhood: during Hajj at Arafah, and during Umrah before its tawaf, it is valid as an obligatory pilgrimage,” means that if slavery ceases during Hajj at Arafah, it is valid as the obligatory Hajj.