Is a Walima an Islamic concept and if so when should it happen?

Walima is recommended for a couple of events, birth of a child, circumcision of male child, marriage and completion of hajj. They are usually done immediately after the event (criteria vary) and should not be done to show off or be excessive. Moreover it is best to feed the poor in these events