Probably from H1129 abbreviated; a house (in the greatest variation of applications, especially family, etc.): - court, daughter, door, + dungeon, family, + forth of, X great as would contain, hangings. home[born], [winter]house (-hold), inside(-ward), palace, place, + prison, + steward, + tablet, temple, web, + within (-out).
H1004 does not occur in the Hebrew Old Testament.
Part of speech from Brown-Driver-Briggs (Open Scriptures Hebrew Lexicon, CC BY 4.0) and STEPBible.org.