Ibrahim (may Allah have mercy on him) said: "If he becomes wealthy before completing the fasts, he should leave the fasting and free a slave."