It is mentioned in QURAN

“And (there will be) Houris (fair females) with wide, lovely eyes (as wives for the pious),

Like unto preserved pearls”

[al-Waaqi‘ah 56:22-23].

So my Question is how come in Sahih Muslim 188 (Book of faith) its mentioned "the last person who enters paradise will have 2 wives from among the houris" where as it is clearly mentioned in Surah Al Wakiah Houris is ONLY for the pious. So does not this particular hadeeth contradict with the QURAN?

It does not contradict the Qur’an. If you read 56:22-23, it says “And Hour al Ein. This is the reward for what you did.” So it’s saying that God will give the people of heaven Houris. The last person to enter heaven is still a good person who was forgiven by God. He’s just the last to enter. The hadith is not saying every person will enter heaven. It’s just saying that the last person to enter will have two houris.