A man receives a box or bag as a gift and is told that he should open it not before he comes to his place. The curious man opens it before time and everything that must make him rich (cattle, houses, etc.) falls out. A demon puts everything back but under certain condition. Usually the man does not understand that he promised to the demon his child