This place is called Büyük Valide Han. It's located in Mahmutpaşa, Fatih. Its roof has an amazing view. A lot of people want to take a selfie or jumping photos on the roof (thanks Instagram), so this place is usually crowded.
You can see similar images if you search its name on Google Search.
I believe they were taken at around 41.014138, 28.968943 (if you zoom right in, you can just make out the lumps they are standing on). There is also a photo sphere at this location with a view that seems similar. The area seems to be known as Büyük Valide Han, which if placed into Google images gives lots of similar looking photos.