Forgetting to take off the pants whilst making the minor pilgrimage

Once I had finished from making the minor pilgrimage, I shaved my hair and returned back to the hotel to change into my normal clothes, and I realized that I still had my pants on. Is there something I need to do to make up for this?

If you forgot to take off your pants when you put on the garments for pilgrimage and did not realize until after completing your minor pilgrimage, there is nothing you need to do. Allaah says,

{رَبَّنَا لاَ تُؤَاخِذْنَا إِن نَّسِينَا أَوْ أَخْطَأْنَا}

“Our Lord! Do not take us to account for something we forget or do mistakenly.”
(Al-Baqarah 286)