New York University is investigating after someone vandalized a Muslim prayer room inside a campus library Thursday afternoon.