Professor and partner detained over infidelity