The legislation of Hajj and its philosophy