There is a very famous narration that we are listening from our very childhood that “Our first is Muhammad(S.A.W) our middle one is Muhammad(S.A.W) and our last one is Muhammad(S.A.W)"
I wanted to know the authenticity of this hadees and I wonder if we take aimma (A.S) as absolute equals to The Holy Prophet (S.A.W), is it not a violation of Khatm e nabuwwat?

Likeness of all masoomeen means their characteristics are same. It does not says that they all are prophet or last prophet