Al-Sha'bi says that if a man sets a slave woman free and excepts her pregnancy, the exception is valid.