This tip is handy if you ever fall asleep listening to music.
After you’ve selected a song in the iPod app and it is playing, head to the the clock app.
Select the timer option in the bottom right hand corner and set a specific time.
Below the time, there is an option that says, “When Timer Ends …” tap that.
via Business Insider