In Tashahhud, Muslims say:
ٱلتَّحِيَّاتُ لِلَّٰهِ وَٱلصَّلَوَاتُ وَٱلطَّيِّبَاتُ، ٱلسَّلَامُ عَلَيْكَ أَيُّهَا ٱلنَّبِيُّ وَرَحْمَةُ ٱللَّٰهِ وَبَرَكَاتُهُ
But recently, I've found out, there are some Muslims who pray like so:
التَّحِيَّاتُ لِلَّهِ وَالصَّلَوَاتُ وَالطَّيِّبَاتُ السَّلَامُ عَلَى النَّبِيُّ وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ
Now, I am aware of the saying in which the 2nd supplication is mentioned where a companion is saying (paraphrasing):
When Prophet was alive, we used to pray the 1st supplication and when he died, we changed it to the 2nd supplication.
According to my knowledge, none of the 4 Imams has used the 2nd supplication & it was neither taught by the Prophet himself! Also, I don't think any big scholar like Nawawi, Ibn Hajar etc has allowed the 2nd supplication!
Is there anyone before 18th century who has used the saying of the companion (above) as a Hujja to use 2nd supplication in prayer? Anyone from the Salaf? Or any big scholar? If so, please provide authentic evidence...