We consider subdiffusion of a particle in a one-dimensional system with a thin partially permeable and partially absorbing wall. The system with the wall can be used to filter diffusing particles. Passing through the wall, the particle can be absorbed with a certain probability. Knowing the Green's functions we derive boundary conditions at the wall. The boundary conditions take a specific form in which fractional time derivatives are involved. The temporal evolution of the probability that a diffusing particle has not been absorbed is also considered.