Sahih al-Bukhari Book 46, Hadith 23
When Allah took away the soul of His Prophet at his death, the Ansar assembled In the shed of Bani
Sa`ida. I said to Abu Bakr, "Let us go." So, we come to them (i.e. to Ansar) at the shed of Bani Sa`ida.
(See Hadith No. 19, Vol. 5 for details)
We said to the Prophet, "You send us out and it happens that we have to stay with people who do not entertain us. What do you think about it? He said to us, "If you stay with some people and they entertain you as they should for a guest, accept their hospitality, but if they don't, take the right of the guest from them."
Abu Huraira said, "Allah's Messenger (ﷺ) said, 'No one should prevent his neighbor from fixing a wooden peg in his wall." Abu Huraira said (to his companions), "Why do I find you averse to it? By Allah, I certainly will narrate it to you."