It is narrated from Abu Qilabah that the Companions used to pay charity, and they would pay sadaqat al-fitr even on behalf of the unborn child.