And when We made the House a pilgrimage for men and a ( place of ) security , and : Appoint for yourselves a place of prayer on the standing-place of Ibrahim . And We enjoined Ibrahim and Ismail saying : Purify My House for those who visit ( it ) and those who abide ( in it ) for devotion and those who bow down ( and ) those who prostrate themselves .