1730/1 - Zayd ibn Khālid al-Juhani (may Allah be pleased with him) reported that the Messenger of Allah (may Allah’s peace and blessings be upon him) said: “Do not curse the rooster, for indeed it awakens (people) for prayer.” [Narrated by Abu Dāwūd with an authentic Isnād]
1) It is prohibited to curse the rooster, for it awakens people for the most virtuous act of worship, namely the prayer.
2) Anything that helps in performing and boosting acts of obedience should be honored and not insulted.
A person should be keen to pursue the proper means that help him wake up for prayer, like alarms. Negligence in utilizing the means that help one in carrying out the obligations is a sign of weak faith and failure to extol the rituals of Allah Almighty.