I can't exactly remember where had I read it but, as I remember...😊
In his "purva Janam" Ravan was a Truthful and a typical Dharmatama type King who loved his Praja as a Father do. He had won almost all empires(I think) and had made a lot of rivals. One day when he had gone to play Shikaar, he got lost and met one of his Rivals who he didn't recognize as he was wearing some saintly clothes and was living like a Saint. But the rival king quickly recognized him and swore to teach him a lesson. Pretending as a Gyani saint he told ravana about his(ravana's) identity, family etc. And Ravan came into his grip and he thought that he is a Puhancha Hua Vidvan. And the rival told him that he have done many mistakes and have to correct them now(or something like that). Then ravana asked that how could he do so. In reply the rival told him that he would transport king to his palace and he should call the family of hundred saints and give them complete Lunch prepared by the rival. And he warned him that he will not look in the kitchen while later is preparing food. And then he told him that he could have some rest and he will be transported in his palace while sleeping. When ravana had gone to sleep, the rival called his friend who was a Rakshsa and narrate him the whole story and rakshsa promised to help him. When ravana got up he found himself in his own bed. He called the families of a hundred Brahmins and the rival king made food for them out of all non-veg. And ravana not even once beeped in the kitchen. And when they had finished he came running and told everyone that the food was impure. The angry brahmins therefore cursed the king that he and his whole vansha would be ended andhe would get a rakshasa yoni in his next janama. And thereafter his whole vansha ended and he re-incrated as Ravana.😊
If there is any mistake in the story I strongly apologize as Ihad read it long time before.😳