What is the ruling if divorce is conditioned on a past event, such as 'You are divorced when you entered the house'?

Chapter on Explicit Divorce and Others

Al-Mughni

Book of Divorce

Book 39 · Issue 12 · Bab 2

Open in Qurani

Primary text

If the husband says, 'You are divorced when (*idh*) you entered the house,' the divorce occurs immediately because 'idh' refers to the past. However, it is likely that no divorce occurs, as divorce cannot be pronounced concerning a past time, resembling saying 'You are divorced yesterday.'