Assalaamu alaykum,
My little one is almost 26 months old and I am slowly weaning her, but not because I believe it's haram to nurse longer or anything. I'm just ready to slowly close that chapter inshaAllah.
I do have one book that says it's haram to BF past two, but then I always think, do they mean like a day after the second birthday or wean by the time the baby turns three? Is it following the Gregorian calendar or Islamic months?

At any rate, I don't think there are any hadiths saying thou shalt wean at 24 months or earlier. If anyone has any info, I'd like to see it.
I think even if there were actual hadiths we could put our hands on today that promote weaning right at 24 months, we'd have to look at why. The ummah was relatively very small during the life of Prophet Mohammed, peace be upon him. It was pretty important to keep having babies. I'm coming to the conclusion that even though I ovulate while nursing, I am not fertile during this time.
At any rate, I truly think it's going a bit far when people say nursing is haram after two years. I think there's a big difference between Allah saying the period of nursing is two years and humans saying the period is two years, max. So I will nurse my daughter past two (although not as long past two as she would like, probably.)
Follow Mothering