The manipulation of 48:27
Cutting a piece of the hair upon the completion of Hajj

God has fulfilled His messenger's vision truthfully: "You shall enter the
Masjid Al-Haram God willing secure with your head's hair shaved and shortened,
and with no fear. He knew what you did not know and so He has granted besides
this an imminent conquest."
48:27

Due to the persecution prophet Muhammad received during his later days in Mecca at the hands of the pagan Quraish tribe, he and a small group of believing followers took flight to Medina. Throughout the years spent in Medina, the prophet was in a state of war with the pagans in Mecca. During those years he was unable to enter Mecca or visit the Masjid Al-Haram, which the pagans controlled.
Slowly, the prophet's followers grew year by year. The words in 48:27 tell us that sometime before prophet Muhammad returned and was victorious in re-taking Mecca with his army of believers, he had a vision that he would re-enter the Masjid Al-Haram. We read in the same verse that God informed the prophet that his vision will be fulfilled, and that he will indeed again enter the Masjid Al-Haram safely "secure" and victoriously "an imminent conquest".

Quranic words used out of context
What a large number of scholars did was to use the words "your head's hair shaved and shortened" to justify a ritual that has no Quranic authorisation but can only be found in the hadith. According to this ritual, the believers observing their Hajj are required to cut a piece of their hair upon the completion of their Hajj. The scholars add that unless this is done, the state of 'ihram' (abstentions during Hajj) cannot be ended. They state that this was what prophet Muhammad did to end his 'ihram'.

The instructions:
The Arabic words 'Muhaliqeen' (shaved) in 48:27 refers to the act of shaving the entire head and the word 'Muqasireen' (shortened) in 48:27 refers to the act of trimming the hair on the head. It is stated that performing Halq or Taqsir is a Wajib (obligatory) act that must be performed in order to end the state of Ihram: If you have hair on your head. You will not be able to leave the state of 'ihram' until you have performed one of the two acts.

Since this ritual is not authorised in the Book of God, which is described as fully detailed (6:114), and that nothing has been left out of the Book (6:38); they employ the words
"shaved and shortened" in 48:27 to add legality to such a ritual.
A number of hadith are then quoted to support this non-Quranic ritual. However, any hadith that authorises any rules or rituals not authorised by God in the Quran is a lie against the prophet.

Or do they have partners who legislate for them of the religion what God did not authorise? If it were not for a decisive Word, judgment would have already been passed on them. Indeed, the transgressors shall have a painful punishment. 42:21

The prophet of God would never have added rituals not found in the Quran. This is because God commanded him very clearly to follow nothing other than the Quran that was revealed to him (46:9, 7:2-3, 5:48). God also made it clear that the only duty of the messenger of God is to deliver God's message (5:99), but never to be a lawmaker besides God (66:1).

Despite these clear assurances, the Sunnis employ a number of fabricated hadith which claim that prophet Muhammad instated rituals that are not authorised in the book of God.
This fabricated non-Quranic ritual of cutting a piece of the hair at the end of Hajj in order to break the state of 'ihram' is one of them. In one such hadith, it is alleged that prophet Muhammad invoked God to have mercy on those who cut their hair or shorten it after Hajj! (Vol. 2, Book 26, Hadith 785)

-------------------------------------------

1-
One of the ploys often used, when there is no Quranic support for a claim being made, is to add words that are not found in a certain verse so as to justify the intended claim.
When we read the words in 48:27 we do not see the word Hajj. In fact, the word Hajj is not mentioned anywhere in the whole Sura.

2-
To that, they say: why else would they be cutting their hair except upon completion of Hajj?
As we know, cutting the hair upon the completion of Hajj is not a Quranic requirement, thus, the question of "why else?" is totally invalid. It is poor logic to explain any Quranic verse by implying that the only valid interpretation is the one that is in harmony with a man-made ritual!

3-
In addition, in 48:27 God tells the prophet that he and the believers with him will have their hair already cut and shortened as they enter the Masjid, which means that they had their hair cut/shortened before they entered the Masjid and not upon leaving the Masjid.
So even if 48:27 speaks about Hajj, which it does not, it would not justify the non-Quranic ritual. This is because the non-Quranic ritual which they promote requires the cutting the hair after the completion of Hajj and not before entering the Masjid Al-Haram (which is what happened in the vision). They clearly had the sequence reversed, and they probably haven't even noticed!

4-
If people cut or shorten their hair, that does not imply they were observing their Hajj. That is because God never made it mandatory for believers to cut their hair before or after their Hajj.
The only mandatory Quranic requirement related to the cutting of the hair is that during the Hajj, the believers should refrain from cutting their hair (2:196). This rule is to encourage people to take their minds off the vanities and to be solely devoted to glorifying and worshipping God throughout the Hajj.

5-
The vision prophet Muhammad saw was of entering the Masjid Al-Haram in Mecca victoriously after long years in Medina. The prophet and the believers who emigrated with him, from Mecca to Medina, would once again be united with their families and friends who stayed behind in Mecca, and whom they did not see for a number of years.
It made perfect sense therefore that they would make the effort to look at their best after such a long separation from their loved ones. To cut their hair or have it trimmed (to look nice) was for that reason. It could not be in any way related to Hajj because as mentioned above, cutting the hair was never made a condition by God before observing Hajj, nor was Hajj mentioned anywhere in the whole Sura.

6-
Finally, it is important to be reminded that the law of God which we must all follow, whether in relation to Hajj or any other worship practice, is spelt out in clear words in the Quran and is addressed to all believers. The law of God is never given through a dream witnessed by any one man. The words in 48:27 are not addressed to the believers but solely to the prophet and it was solely about the fulfillment of a vision that he had.