The Prophet (peace and blessings be upon him) said, “Islam is built upon five pillars: testifying that there is no true god except Allah and that Muhammad is the Messenger of Allah, performing Prayer, paying the Zakah, making the pilgrimage to the Sacred House (Hajj), and fasting the month of Ramadan.” (Reported by Al-Bukhari) .
That being said, it should be known that all pilgrims are required to abstain from whatever gives off appealing scents and as far as Islamic jurisprudence is concerned there is nothing wrong in rubbing the body with ointments or creams as long as these ointments do not contain scents.
Allah Almighty knows best.