If a traveller who does not know that he must perform qaṣr prayers performs tamām prayers, his prayers are valid.