Hadithcore
Mishkat al-Masabih, 1291

Anas said that the Prophet (ﷺ) stood in humble supplication for a month and then gave it up. Abu Dawud and Nasa'i transmitted it.

وَعَنْ أَنَسٍ: أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَنَتَ شَهْرًا ثُمَّ تَرَكَهُ. رَوَاهُ أَبُو دَاوُد وَالنَّسَائِيّ

References1 variant
In-Book Reference
Book 4, Hadith 702