Yahya related to me from Malik from Nafi that Abdullah ibn Umar
divorced one of his wives in the house of Hafsa, the wife of the
Prophet, may Allah bless him and grant him peace, while he was on the
way to the mosque. He went another route from behind the houses being
averse to ask permission to enter until he returned to her.
Muwatta Malik Book 29, Hadith 71