The Prophet (a.s.) used to offer his prayers towards Jerusalem, but on Tuesday the fifteenth of Sha’ban in the second year of Hijra the qibla was changed (by Allah’s order) to the Kaaba. The place where the Prophet (a.s.) offered prayers was called the mosque of the two qiblas.[23] The Prophet (a.s.) offered prayers towards Jerusalem for sixteen months.[24] And in the second year of hijra too, the Prophet (a.s.) was ordered to fast during the month of Ramadan and to pay the zakat of fitr a month after the change of the qibla.[25]
The Prophet consults with his companions
Though he was an infallible prophet sent by Allah, Prophet Muhammad (a.s.) consulted with his companions about most political and social affairs following the saying of Allah to him (and consult with them upon the matter).[26] Abu Hurayra narrated, “I have never seen anyone more consulting with his companions than the messenger of Allah.”[27]
Surely, the Prophet (a.s.) was in no need of anyone’s opinion, but he consulted with his companions to unite and spread love among them. Historians say, “He (the Prophet) consulted even with women and he regarded their opinions.”[28]
source : http://www.maaref-foundation.com