In the Bible, God blessed the houses of His servants for His purposes and glory (Genesis 39:5; Ezekiel 44;30). There is nothing that indicates that a ritual preceded the blessing. God simply blessed His people who were following in obedience to Him.
According to the Book of Blessings that is approved for use in the Dioceses of the United States of America by the National Conference of Catholic Bishops and confirmed by the Apostolic See, there is the Order of for the Blessing of a New Home and the Order for the Blessing of Homes during the Christmas and Easter Seasons. Both orders may be used by a priest, deacon, or a layperson, who follows the rites and prayers designated for a lay minister.