Lil Wayne has been released from the hospital and is resting at home ... after suffering an in-flight medical scare yesterday, which caused his plane to make an emergency landing.
Lil Wayne's rep tells TMZ ... Wayne was treated for a severe migraine and dehydration.
The rep adds, "He is at home on doctor mandated rest and will return to work soon. He appreciates all of his fans for their support and love."
TMZ broke the story ... Wayne's private jet made an emergency landing over Texas Thursday ... after our sources tell us, Wayne suffered seizure-like symptoms mid-flight. He was rushed to the hospital the moment the plane touched down.
FYI, the pilot initially radioed in that Lil Wayne suffered a seizure.