Imam Malik, may Allah have mercy on him, said: According to us, the ruling is that if there is a house in which only one person lives, and someone steals something from that house but does not take it outside the house (rather, moves it from one room to another or brings it into the courtyard), then his hand will not be cut off until he takes it outside the house. However, if there are several separate rooms in a house and people live in each room, and someone steals the property of a room-dweller and takes it out of the room but not out of the house, even then his hand will be cut off.