The Ottomans' own purges of the Mamluks preceded Mehmed Ali's massacre. [contrarian]
However, it is important to remember that even in this incident Mehmed Ali was not as pioneering as first appears, and that there had been earlier and very similar attempts by the Ottomans to get rid of the Mamluks. The last such attempt took place after Mehmed Ali had arrived in Egypt. On 22 October 1801 Hüseyin Pasha, the Grand Admiral of the Ottoman navy (who had arrived with the new nizami troops to assist the British in evicting the French from the country) invited the leading Mamluk emirs to a banquet on board his flagship and confronted them with an imperial invitation to go with him to Istanbul. Seeing the “invitation” for what it was, the emirs attempted to escape the ship and in the ensuing struggle a large number of them were killed and others were arrested only to be rescued later by the British and allowed to flee to upper Egypt.
XREF: Connects to and complicates the earlier reading of Mehmed Ali's 1811 Mamluk massacre, showing he followed an established Ottoman pattern rather than innovating.
Builds on: "Mehmed Ali massacred over a thousand Mamluks to end their influence."
Khaled Fahmy, All the Pasha_s Men_ Mehmed…, loc. 432