Giving condolences is an important aspect of Muslim faith and culture. I went to offer condolences to a Kuwaiti as his father has passed away. It is a very respecful event and demonstrates the close ties within the society. The most senior family members sit and stand to accept condolences from each visitor. The most senior members are the first to accept the condolences. Then the visitors sit, and after an appropriate time take their leave. This is how it is done for the men. The ladies are in a different location.
This verse of the Koran that may be reiterated at the condolence:
These are the words of Allah, Peace Be Upon Him:
Every soul shall have a taste of death and only on the Day of Judgment shall you be paid your full recompense. Only those who are saved far from the fire and admitted to the Garden will have attained the object [of life], for the life of this world is but goods and chattels of deception.