The planning for this raid would have begun months ago, most likely involving signal intelligence, a fancy word for tracking the target’s use of cell phones by him or known associates. From there the noose would tighten in terms of his exact location. Once that was worked out to a reasonable approximation, assets on the ground would then do the leg work of surveilling the location to assure the target was really present there.
The intelligence gathered would include knowing how many persons lived there, their comings and goings and who visited the compound and where they went afterward. Photos and video from every angle would be taken and operatives would even go as far as walking past the building or attempting some ruse to gain entry to determine the layout, like a city worker checking for a gas leak or other inspection of some kind.
ISIS leaders know the U.S. is looking for them so they go to great lengths to keep their locations concealed, like bin Laden did, they often take up residence in plain sight hoping to blend in with the local population. Theirs is an existence not unlike being in a prison of their own making, living in near-complete isolation from the outside world. Al-Qurayshi was said to never leave the inside of his residence on the third floor except to bathe.
From there, a model would be built of the compound including the surrounding buildings in several scales to plan the method of approach and assault. A realistic mockup in full size would also be made to allow the operators to practice assaulting the building over and over until they know its layout cold.