Are you broke and you don't have money to buy a gift? What about offering yourself? If your friends have kids, offer to babysit. If they have animals, offer to take care of them while they are away. Bake them a cake, take care of the lawn, there are actually quite a few things you can do without spending money or a minimal amount. Have you tried this?