The person must keep in mind that especially during this journey...
Allah will see your work and (so will) His Messenger and the believers…” (2) The person must keep in mind that using any forbidden (haram) wealth or property on this trip ‑ rather in any act of worship, will not lead to anything except the accumulation of sins, transgression and misfortune in this world and in the next life.
After repentance and being vigilant, the person must also reach a stage of emptiness and annihilation, such that if he can not reach the level where he is able to remove all the detestable characteristics such as jealousy, miserliness, pride, greatness, worship of the world, etc… then he should at least try to acquire the praiseworthy characteristics such as mercy, generosity, humility, asceticism, and freeing the soul from all that it is attached to within himself.
A person should try to at least control those detestable attributes that he possesses and not allow them to take power over him. Similarly, one must try to allow justice, equity and the fear of Allah to rule over himself such that unknowingly and on its own, the soul gains control in a way that all the obligatory (wajib) actions are performed and all sins are refrained from.
This should be accomplished at least to the extent that these (positive traits) take control over one’s al‑Nafs al‑Ammarah and over one’s own wishes and desires, and do not drag the person towards sin.