Sunan Abi Dawud, Book 43, Hadith 419 (Abu Dawud 5193)

Ibn ‘Abbas said :

Most of the people did not act upon the verse about asking permission to enter the house. I have commanded this slave-girl of mine to ask my permission to enter. Abu Dawud said: 'Ata also transmitted it from Ibn 'Abbas in a similar way. He commanded to act upon this.