Sahih al-Bukhari 1132b
Sahih al-Bukhari · Book 19: Prayer at Night (Tahajjud) · Sleeping in the last hours of the night
Narrated Al-Ashath:
حَدَّثَنَا مُحَمَّدُ بْنُ سَلاَمٍ قَالَ أَخْبَرَنَا أَبُو الأَحْوَصِ عَنِ الأَشْعَثِ قَالَ إِذَا سَمِعَ الصَّارِخَ قَامَ فَصَلَّى .
He (the Prophet (p.b.u.h) ) used to get up for the prayer on hearing the crowing of a cock.