They are both correct but used in slightly different situations. A speaker uses IN with a building only when it is important to say that someone is inside, not outside, the building. g.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.