When Uthman placed his property at at-Ta'if and intended to settle there, he prayed four rak'ahs. The rulers after him followed the same practice.
لَمَّا اتَّخَذَ عُثْمَانُ الأَمْوَالَ بِالطَّائِفِ وَأَرَادَ أَنْ يُقِيمَ بِهَا صَلَّى أَرْبَعًا قَالَ ثُمَّ أَخَذَ بِهِ الأَئِمَّةُ بَعْدَهُ