Sahih Muslim, Book 6, Hadith 111 (Muslim 1666)

'A'isha reported:

The Messenger of Allah (ﷺ) used to observe two rak'ahs of Sunnah (prayer) when he heard the Adhin and shortened them.