Cook the spaghetti until al dente according to package instructions, then transfer to a colander to strain.
Pre-heat oven to 180°C/ 350°F. Beat the eggs in a large bowl. Add cottage cheese, sour cream, sugar, cinnamon, lime juice, salt, and pepper to taste. Stir to combine. Transfer spaghetti into the bowl and stir in raisins.
Grease the baking dish with butter and transfer spaghetti-mixture to the dish. Bake at 180°C/350°F for approx. 50 min or until the top is golden brown and custard is set. Serve while still warm and enjoy!