The 'hood is short for "neighborhood" and is slang for poor, urban areas. Actually, it can refer to anyplace that someone is from, but in this context, a poor, urban, probably gang-inhabited area is what is meant. So he raps (sings) about how you have to remain loyal to this poor area, but he lives in a mansion.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.