Sunan an-Nasa'i 1799
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ صَلَّى ثِنْتَىْ عَشْرَةَ رَكْعَةً بِالنَّهَارِ أَوْ بِاللَّيْلِ بَنَى اللَّهُ عَزَّ وَجَلَّ لَهُ بَيْتًا فِي الْجَنَّةِ "
It was narrated that Ya'la bin Umayyah said:
"I came to At-Ta'if and entered upon Anbasah bin Abi Sufyan when he was dying. I saw that he was afraid so I said: 'You will be fine.' He said: 'My sister Umm Habibah told me that the Messenger of Allah (ﷺ) said: Whoever prays twelve rak'ahs by day or by night, Allah, the Mighty and Sublime, will build for him a house in Paradise.'"
Full reference and source
Sunan an-Nasa'i 1799 In-book : Book 20, Hadith 202 English translation : Vol. 2, Book 20, Hadith 1800
View source on Sunnah.com (opens in a new tab)