Hadith 659
حَدَّثَنَا إِبْرَاهِيمُ بْنُ أَبِي الْعَبَّاسِ، حَدَّثَنَا شَرِيكٌ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْحَارِثِ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ كَانَ يُوتِرُ عِنْدَ الْأَذَانِ وَيُصَلِّي الرَّكْعَتَيْنِ عِنْدَ الْإِقَامَةِ.
It was narrated from ‘Ali (رضي الله عنه) that the Prophet (ﷺ) used to pray Witr when the adhan was given and he prayed two rak`ahs when the iqamah was given.
Reference : Musnad Ahmad 659
In-book reference : Book 5, Hadith 94