This very principle is what causes breakers. Waves moving from deep water to shallow water (such as on a beach) will get slowed down by friction with the bottom. The surface part of the wave gets ahead of the deeper part and you get a breaker.