Dear brother Sardar,
May peace be with you.
The prescription of five prayers has nothing to do with the Prophet's experience in 17:1 in as far as the information that can be gleaned from the Quran.
With respect, you and I both know that the Quran does not mention such a matter in the entire scripture. Such stories are only based on Islamic secondary sources.
I have shared with you the reason why I think it was a 'spiritual experience' of some kind. Please let us rest the matter at that and take general wisdom from the sentiment in the following verse.
003.066
Behold! you are they who argued about that of which you had (some) knowledge; why then do you argue about that of which you have no knowledge? And God knows while you do not know.
Please lets rely on matters which are clear (3:7; 18:22)
With utmost respect,
Your brother in faith,
Joseph.