Ibn Sirin said: If he hears a verse of prostration during prayer, he prostrates after finishing the prayer.