When does madd ‘arid li-s-sukun arise?

Alif, Waw and Ya: Types of Madd and Special Hamzah Rules