I don’t think it is mandatory, but it is a very nice thing to do. It really depends how close you are to the couple. If you are close enough to the couple that are going to look for something from you, then I would say go for the gift. And it doesn’t have to be big. Something small and practical is always appreciated IMHO.