This question already has an answer here:
A non-EU-citizen booked on a flight from outside the EU with a connection in Istanbul continuing into Europe experiences a flight delay of several hours due to bad weather on the first flight, and therefore misses the connecting flight in Istanbul. The connecting flight is re-booked to a flight one day later (>eight hours later). Both flights were booked with and are operated by the same airline. According to http://marker.to/io9PYL and http://marker.to/jUNFOu there should be accommodation, food and compensation, unless the delay is due to bad weather, in which case they are still supposed to provide assistance.
What are the passenger's rights regarding accommodation, food, and compensation then?