The Prophet ﷺ is reported in an authentic hadith to have said:
مَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ
Translation: Whoever stands in prayer during Ramadan in faith and seeking reward will have previous sins forgiven.
The hadith establishes the merit of Ramadan night prayer, but does not itself specify a precise number of rakahs.